News for hackers. Stuff that matters.

vladimir-vg

Re:Ask HN: Best books on building a programming language on Saturday April 11, 2026 @02:43PM (#47732979)
What I can assure you about, is that you DO NOT NEED to learn how to create runtimes, compilers or translators.

The challenge isn't really in building a decent implementation or adopting useful features. There are plenty of languages with decent implementations and features that are on display in Github graveyard.

The challenge is to deeply understand what THE PROBLEM is. Books won't help you with that at all. Long walks, drinking fresh water, meditation, prayer. It may take years.

And once you understood the problem, the path is clear: research and studying prototypes of other people helps greatly.

What is the problem that you're trying to solve? You listed the features, not the issue you're aiming at.

Re:Types are the basic tool of software design on Friday January 03, 2025 @06:24PM (#42590595)
Author is dead wrong, just enamored with functions.

Functions can be seen as basic tools of software design only if you completely leave out IO and asynchronous nature of the communication.

That’s why Haskell is so beautiful and understandable when you work with pure data, and suddenly becomes so cumbersome and cryptic when you need to work with IO and async communication. Because functions ARE NOT basic tools of software design.

Actors that asynchronously pass each other messages are.

Only BBC cares about him, seriously. He got less than 5% support.
Re:Bret Victor – Inventing on Principle (2012) [video] on Thursday February 08, 2018 @12:44AM (#16330466)
I was following closely LightTable and EVE. Very inspiring projects.

> that wall being the limitations of programming languages you outline here

Exactly. I was thinking about the same a while ago. EVE is an attempt to build a new reality where those limitations are gone. But it didn't work quite well -- in order to get support, money, users it should be somehow connected to production.

There is a platform where all this complexety with IO (the mail send in your example) is abstracted quite nicely and can be manipulated/mocked: the BEAM platform (Erlang, Elixir).

You can record IO for particular process (it just messages), replay it if you want.

Also, modules can be compiled in any order, functions in module can be defined in any order. It's much easier to treat function as smallest unit of code. To create a parser that could transform code into data, allow it to manipulate (structured editing and all) and transform it back to text form, to be used by other programmers.

I think if LightTable was aiming at BEAM platform it could go a bit further. Utilize growing popularity of Elixir, and create a new development platform.

Re:Erlang Shell Visualization demo on Friday July 07, 2017 @12:34PM (#14719742)
Any thoughts?
Re:Escher: A language for programming in metaphors on Saturday July 19, 2014 @01:27PM (#8058105)
hey petar, why you're tilting your texts?
Re:Escher: A language for programming in metaphors on Saturday July 19, 2014 @01:19PM (#8058081)
hey, @petar, why you're tilting your texts?
Re:Blink on Thursday June 26, 2014 @05:52AM (#7948785)
Also "tilt" query