14 ms·
I made the Rust compiler and the Rust Markdown pipeline (https://satteri.bruits.org https://satteri.bruits.org) in this, let me know if you have any questions,
by Princesseuh 2mo ago
I made the Rust compiler and the Rust Markdown pipeline (https://satteri.bruits.org https://satteri.bruits.org) in this, let me know if you have any questions, glad to answer anything!
- toddmorey 2mo agoThanks for your work on this!
- keepupnow 2mo agoFor the good of humanity, I must ask... How much Claude? How much human?
- ZeWaka 2mo agoHow does Satteri compare to a standard library like marked (https://github.com/markedjs/marked https://github.com/markedjs/marked)?
- Princesseuh 2mo agoIt depends in what regards you mean, I have some benchmarks here if you'd like to take a look at those: https://github.com/Princesseuh/web-markdown-benchmark https://github.com/Princesseuh/web-markdown-benchmark The TL;DR is that `marked` is very light, but a bit on the slower side compared to Sätteri and `markdown-it` (and its forks). I'm not sure how friendly the extensibility is, but Sätteri re-use the same AST format as the unified ecosystem, which might feel more friendly. Both good options, though!
- ZeWaka 2mo agoWe just use `marked` currently for some light markdown rendering in a game engine. This does look like it offers much better extensibility if we ever needed that - thanks for the clarity!
- BorisMelnik 2mo agogreat job, that is a huge accomplishment.
- stronglikedan 2mo agolove the color scheme
- BSTRhino 2mo agoVery cool! What was the trickiest part of coding Sätteri?
- Princesseuh 2mo agoIt was tough to create a plugin API that was both performant and intuitive. Especially since the library people were migrating from (remark/rehype) was very laissez-faire in regard to the data you have access to, visiting patterns, etc. Crossing data between Rust and JS is inherently kinda slow (relatively), so there's a constant push and pull between flexibility and performance that's not always easy to reason about!
- genshii 2mo agoJust moved my astro project over to v7 and saterri the other day. Writing MDAST/HAST plugins is so much better/easier, so great job there :)
- steveklabnik 2mo agoMy personal website uses Astro, so I'll be tickled that Rust is now in there too. Thanks for your work!
- mrsssnake 2mo agotickle tickle
- Princesseuh 2mo agoLove everything you do Steve, consider that I've done it for you