27
hmmm
7y

Nobody writes compilers anymore. :(

Comments
  • 17
    No one's stopping you. If you really want to dive into the obscure world of assembler that feels like taking every drug at once, nobody is stopping you.
    I've heard hardware vendors push exceptions for compiled code when they discover hardware bugs. Like "no f_push op after three consecutive add ops".

    I'd rather play chess, league of legends and dark souls at the same time than to make a compiler.
  • 3
    Adding that to my project ideas list. Thanks!
  • 2
    Search JAI compiler and Jonathan blow on youtube and you'll be suprised.
  • 2
    Bisqwit is currently writing one
  • 0
  • 1
    @gnulinuxer4fun
  • 1
    Heyaa i feel slightly overlooked, xD
  • 0
    I'm writing an Interpreter for a full fledged language. I plan to rewrite it later to make it run on its VM.
  • 0
    Not true. There's tons of compiler hacking going around, especially in the LLVM community. I recommend you give that a go if you're interested.
  • 0
    It's not that hard. Just keep your expectations low. Don't start with await async. Better start with expressions. If you don't wanna craft the next big thing, just a compiler, your are good to go.
  • 3
    I'm working on a compiler in Racket right now for school.

    It's kind of magical when it poops out valid x86.
  • 1
    Compilerbuilding is very interestinh.

    1) it teaches you basic text recognition skills
    2) you get to learn assembler
    3) you fricking own programming language
    4) More flexible than relying on YACC
  • 0
    I wish I was smart.
  • 0
    I am writing a compiler for my end-of-degree project, but hell do I plan to develop it even further afterwards. It is, by far, the project I am proudest of.

    I always wanted to write one, just didn't feel I knew enough, but after reading and re-reading LLVM docs, I started it.

    The main reason is that I cannot find home in any big lanaguage: Java needs a VM, C++ is full of ugly patches, Rust's lifethingys just can't get in my head, etc etc. Which is why I decided to roll my own.
  • 1
    @intromatt Compilerbuilding isnt aboudt intelligerce. if yoi want to have a chat on telegram, im @linuxer4fun
  • 1
    Hell nah
    I don't need Assembly in my life.
  • 0
  • 0
    @gnulinuxer4fun 'tis unneeded and ugly
  • 3
    I currently try to write a lisp interpreter, does that count?
  • 0
    @host127001 me too! and one more high level language. :)
Add Comment