alang

Languages and libraries

programming language implementation

SHOW HN2021

94points
28comments
#558of 2,533 in 2021
Top 23%of 2021 by points

How HN took it

MixedNo clear lean

1 positive, 2 neutral or asking, 0 mixed, 2 critical, out of 5 comments about the project. Thread score -0.20.

Design: 1 for, 1 againstDocs: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Clear example of building a language on a C++ foundation

    From 1 comment
    • I ensure that the title is correct and was written by me; actually they're both me, just different emails. Don't let your employer into your GitHub account, kids; it will never…
      codr7 on HN

Objections

  • Not useful for reimplementing Java; a different approach would be better

    From 1 comment
    • I was being honest. If you're reimplementing Java, this project isn't going to take you very far and it's probably not the optimal approach.
      codr7 on HN

Questions

  • Would this work for interpreting Java?

    From 2 comments
  • Why write the compiler in C++ rather than a safer language?

    From 2 comments
    • Show HN: Build your own programming language in your own language. Why on earth would someone seriously want to use C++ for the compiler, when you created a much better language?…
      rurban on HN
    • One reason could be that most real-world compiler/runtime codebases are in C++ (gcc, llvm/clang, v8, most of Java JITs) and C++ has just enough high-level features to make a…
      dmytrish on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/25652865)