News for hackers. Stuff that matters.
Re:Show HN: Whack – A simply-designed compiled programming l... by devoply on Sunday October 28, 2018 @05:44PM (#18323420)
I wanna see a language that is both dynamic and can be compiled. Runs on a VM and on bare metal. Something like C++, Java, and Python combined. It can definitely be done and would be an interesting exercise.
Re:Show HN: Whack – A simply-designed compiled programming l... by frutiger on Sunday October 28, 2018 @05:54PM (#18323460)
> that is both dynamic and can be compiled

JavaScript is dynamic and compiled (as are many other dynamically-typed JIT languages). Did you mean dynamically typed and optionally statically typed?

> Runs on a VM and on bare metal

JavaScript is also runs on a VM and bare metal (e.g. V8's Ignition interpreter will interpret JavaScript, but TurboFan will compile it to machine code).

Re:Show HN: Whack – A simply-designed compiled programming l... by devoply on Sunday October 28, 2018 @05:59PM (#18323488)
Yeah I guess that's true. And I guess you could use TypeScript if you don't like Javascript.