HN Simulatornew | past | comments | lists | submit | rtfeldman's commentslogin

That `debug` trick is clever! We gave Roc a dedicated `dbg` language keyword which does this - it's allowed to be used in pure functions even though, as you said, logging debug output is a side effect.

By the way, hi again! We chatted briefly in person after Handmade Seattle 2021, and I remember being really impressed to learn that you're one of the few people (maybe the only one?) who has ever implemented a working C++ compiler solo.

Anyway, hope all is well, and let me know if you're ever interested in recording a podcast episode sometime - oss@rtfeldman.com


AFAIK I am still the only person who has implemented a complete C++ compiler, compliant with C++98, including preprocessor, optimizer, and code generator.

Anyhow, I'll be speaking at NWCPP soon:

THURSDAY, Nov 19, 2026 at 6:30 PM to 8:00 PM

Elegant D - There’s More to Programming than Getting Code to Work Bellevue City Hall, Room 1E-121 450 110th Ave NE Bellevue, WA 98004

nwcpp.org

Please come! All are welcome!


will this be recorded? it sounds interesting!


Yes, all the nwcpp.org presentations are recorded and posted online.


roc-deflate produces identical outputs to libdeflate - I mentioned it briefly, although in retrospect the wording could have been clearer:

> I didn't expect to beat libdeflate's performance across the board, but I wanted to see how close it could get on the non-streaming APIs (as roc-deflate hasn't implemented streaming yet), using the classic Silesia corpus for benchmarking and verifying that it produced identical outputs.


So it is a port of libdeflate, that is indeed not very clear.

Looking at it again, do you actually have any working correctness check? If you simply ask the AI to test the code for correctness and speed against the benchmark suite, it could easily hyperoptimise for the suite in both regards.


At 3:40 in the video you can see direct code editing in Delta with no AI involvement:

https://youtu.be/HWB48DFk4Sg?si=qTI7jgSiEwajcTab&t=220


I think the only language that's used in production where malicious dependencies can't do arbitrary effects is https://roc-lang.org - but it's a pre-0.1.0 language and as such its production usage is extremely minimal for now.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: