Skip to content

The-Minecraft-Scientist/desmoxide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Desmoxide

desmos, but its incredibly fast

planned features

  • ASM JIT backend (compile your Desmos expressions to assembly!) via llvm with the inkwell crate
  • SPIR-V backend for GPU-side execution of expressions (with support for uniform variables and performant dynamically sized lists with buffers)
  • Optimize IR with Equality Saturation and the egglog crate (Unfortunately, Egglog's Rust API is basically nonexistent at the moment, so this is on hold until they actually implement one)

current features

  • mostly feature-complete parser and AST structure for Desmos expressions (link)
  • First iteration of intermediate representation format implemented (link)
  • Lower Desmos expressions to IR (link)

relevant design decisions

  • desmoxide (lib crate) should never panic. Ever. Calls to 'unwrap' and the likes are ONLY allowed when it is invariant that that unwrap will succeed. anyhow took away any excuses I had for panics/unwrap spam.

About

Desmos, but its incredibly fast

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages