Unofficial Hacker News companion — get notified on comment replies, and more.

Roc version 0.1.0, eight years in the making (opens external site)

485 points by DrDeadCrash 3 days ago | rtfeldman.com | 134 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (1)

  1. AFAIK there's two things.

    1. The platform defines what effects your code can run. For certain use cases, it makes sense to have some but not the other. For example, a terminal app, a GUI, and a webserver need different primitives. Same with powering a UI for a smart fridge VS embedding into a text editor.

    2. Most high level languages "drop down" to systems languages like C/C++ already, for example, Python.

    > Might as well just use those languages to finish it off.

    Different languages give you different things. Most people wouldn't want to write their entire app in C, for all the obvious reasons. Think about the Apache web server approach - it's a fast server written at the systems level, but passes the final piece off to whatever language you want. You can use a higher level language here for your business logic, without sacrificing all the speed.

    At the end of the day, everything has to drop down to assembly to make a syscall, but that doesn't mean you want to write your whole app in assembly.