Skip to content

Comment on Doo: A Simple, Fast Programming Language Built on Rust and LLVM

Comments

Algebraic data types please. When you programme in Haskell, you use them all time, and yet support is missing in so many languages. It's one of the things that makes Swift look attractive to me.

Hi, thanks for pointing this out. Yeah struct and enum are alredy in pipeline. memroy mgmt and codegen work pending for those 2. Planning to release in 0.3.0 but let me see if possible on next release of 0.2.0

Struct enums are base of any type safe language will surely add in upcoming releases.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.