Memory efficient š¢, fast ā”, and easy to use Node.js hypertext preprocessor, like PHP but betterā¢.
It's written in Rust, so it's memory efficient by default.
It definitely does not store entire files in memory.
And even if it did, how much RAM do you have? How much RAM does your cloud have? Right, I thought so.
Look, reading from disk is slow, and reading from memory is fast and everyone wants fast.
- Parsing code from jshp tags
- HTTP serving
- Tag parsing
- Implement better parsing errors (unclosed tag, missing closing tag, etc.)
- Finish echo tag
<?= ... ?>
- Implement CLI
- Implement
check_syntax
flag - checking the syntax of code fragments
- Typescript support ?
- node_modules support / require() support ??
- wasm ???
- Readme needs more emojis
- Colored status output for startup checks/warnings/errors
- Add a
LICENSE
file - Benchmarking
But... Why?
It might not look like much but this is the best first project in any language, see:
- It's made of multiple primitive parts that are rather easy to implement
- Simple syntax parsing, simple file IO stuff, almost simple HTTP serving, ignore the V8 stuff (originally it should use Node.js directly, but embedding V8 means faster, and everyone wants faster)