Earlier quoted context omitted.
The type system looks novel, but it doesn't provide controlled effects or safety as the system for Disciple language described in the "Type inference and optimization in impure world" paper. So it doesn't qualify as 'awesome' IMO
The docs are out of date. I read the Disciple papers about a month after finishing the thesis, and immediately began working out how to add "back" (regions were always intended) regions and effects.
Deca - a systems language based on modern PL principles
41–50 of 59 posts
Re: Deca - a systems language based on modern PL principles
#42Earlier quoted context omitted.
What about Cyclone?
I'm not sure I've even heard the name once. Looks interesting , gradually safer than C, I like that.
Re: Deca - a systems language based on modern PL principles
#43Earlier quoted context omitted.
The language is a compiled language, with the JVM being used (originally) because I wanted a particular parser generator. Deca code can't access Java libraries because Deca code compiles to LLVM bitcode and thence to machine code. decac is a compiler, not an interpreter, so it takes the Deca code in and outputs the LLVM bitcode. Sorry about the lack of docs. I've been slowly dumping my undergraduate thesis on this in…
Sorry to nag, but how is outputting to LLVM bitcode not interpreting? You are taking source code and turning it into intermediate form (i.e. LLVM bitcode), no?
Re: Deca - a systems language based on modern PL principles
#44I keep a (small) list of active awesome and interesting alternatives to C. Cyclone has been mentioned already, adding Deca now. the other two I know are: * ATS http://www.ats-lang.org/#what_is_ats_good_for * Clay http://claylabs.com/clay/
Re: Deca - a systems language based on modern PL principles
#45Earlier quoted context omitted.
> One of the examples in the repository is an implementation of malloc. Right. And (imho) malloc is quite possibly an "old fashioned" way of looking at things: function malloc(num_bytes: nat): @byte A reference to a byte block obtained from specifying the number of bytes! I would like to see the modern memory manger be type aware, have a very rich memory model, and allow for the propagation of application level seman…
> I would like to see the modern memory manger be type aware Because these are system languages, that would happen when hardware is type aware.
Re: Deca - a systems language based on modern PL principles
#46I keep a (small) list of active awesome and interesting alternatives to C. Cyclone has been mentioned already, adding Deca now. the other two I know are: * ATS http://www.ats-lang.org/#what_is_ats_good_for * Clay http://claylabs.com/clay/
Re: Deca - a systems language based on modern PL principles
#47Nice to see something actually trying a CLOS-style object system. There are good ideas in there that don't get enough presence in more recent language efforts.
Re: Deca - a systems language based on modern PL principles
#48I see that "lispy macros" will not be supported, but one of the things that bugs me about C (in my brief experience) is the verbosity and repititiousness. Good generics will help, but I'd still like to see a better macro system than the C preprocessor. One possible feature that stands out would be macros local to a scope. I actually did this, defined a macro right in the middle of a function to automate some error-ha…
Re: Deca - a systems language based on modern PL principles
#49Earlier quoted context omitted.
Dont you know about Rust? If you do why is it not on the list?
Yes I know of Rust and think it's very interesting. For most system level programming it should be an excellent choice. It's great that the dearth of systems capable languages is something that is becoming less of an issue. But when i was making the list I was thinking about if the language could possibly be used in an embed context. C is still king there. Rust I believe, is partially garbage collected in a way that…
Re: Deca - a systems language based on modern PL principles
#50They should have used more C-like syntax.