nponeccop
Re:4M cases of “Ouput” typo on GitHub
on Friday August 19, 2022 @02:23PM (#32524455)
I wonder if there are other such typos
Build minimal containers/chroots using strace
FIX protocol (co)parser in Haskell
Re:Deca - a systems language based on modern PL principles
on Monday January 02, 2012 @05:36PM (#3417702)
I mean high-performance implementations. Techniques to (statically) compile prototypes into efficient code were developed, but they are largely irrelevant to Javascript. High-performance modern implementations of JS rely on tracing JIT.
Re:Deca - a systems language based on modern PL principles
on Monday January 02, 2012 @03:16PM (#3417137)
My point is that 2x slowdown is critical for many systems - embedded, gamedev, HPC, systems software. Controlled measurement of slow-down and heap slack caused by GC is beyond capabilities of most embedded devs. Academia provided us with some experimental results saying that in half-empty heaps GC is lightning fast, but there's no (recent) data for 90% full heaps and for very large heaps.
Re:Deca - a systems language based on modern PL principles
on Monday January 02, 2012 @08:44AM (#3415887)
Can modern garbage collectors deal with almost full heaps? There is an urban legend that GC only shows good performance with 50% of memory free, which is certainly unacceptable for microcontrollers. Also, most garbage collectors require boxing which prevents tight packing of heap data. Are all these problems already solved somewhere? Jitter is the least important issue as there are a lot of works on realtime collectors.
Re:Deca - a systems language based on modern PL principles
on Monday January 02, 2012 @06:54AM (#3415618)
I wonder what happened to SELF-like object systems (slots, prototypes and all that).
Re:Deca - a systems language based on modern PL principles
on Monday January 02, 2012 @06:52AM (#3415611)
See also Vala, Mercury, Felix and Haxe.
Re:Deca - a systems language based on modern PL principles
on Monday January 02, 2012 @06:51AM (#3415608)
It is not necessary. With software replacement for MMU possible (see Singularity OS), hardly any hardware safety support is a requirement nowadays. TAL is the way to go - AFAIK it is possible to make plain x86 assembly dependently typable by attaching proof witnesses to EXE.
Re:Deca - a systems language based on modern PL principles
on Monday January 02, 2012 @06:40AM (#3415588)
I'm shamelessly adding my own HNC here :) http://code.google.com/p/inv/ https://github.com/kayuri/HNC/wiki I'm moving to GitHub - so 2 repos. "C++ is an evil language used at early stages of HNC development", so it will go away. See also discussions on reddit (submitted not by me lol) http://www.reddit.com/r/haskell/comments/mldzq/hnspl_a_bette... and here on HN long time ago http://news.ycombinator.com/item?id=2116337 (submitted by me)
Re:Deca - a systems language based on modern PL principles
on Monday January 02, 2012 @06:32AM (#3415572)
LLVM bytecode does not exist after linking - it turns into usual machine code. It is not even a JIT compiler, talk less of an interpreter.
Re:Deca - a systems language based on modern PL principles
on Monday January 02, 2012 @06:29AM (#3415570)
Well, BitC is not too popular either. Another interesting experiment is Sing#/Singularity, which is a successful attempt to get IO performance of FreeBSD despite designing whole OS in modified dependently-typed C# with usual JIT and garbage collection. The question whether GC is applicable in memory-constrained environments is still open - I couldn't find a single research in this direction.
Re:Deca - a systems language based on modern PL principles
on Monday January 02, 2012 @06:23AM (#3415558)
Yeah, I have the same story. I have long wanted a "mutable" type system for my HNC project ( https://github.com/kayuri/HNC/wiki, http://code.google.com/p/inv/ ) - it was here on HackerNews about 1 year ago but got little to no interest. I asked on cstheory.stackexchange.com but got no useful answers. And then someone pointed my attention to DDC. I knew about it but I thought it was just an eager revamping of Haskell, just like many other eager haskells (speculative execution etc) out there.
Re:Deca - a systems language based on modern PL principles
on Sunday January 01, 2012 @06:45PM (#3414210)
What about Cyclone?
Re:Deca - a systems language based on modern PL principles
on Sunday January 01, 2012 @06:44PM (#3414206)
Looks like you have never took academia papers seriously :)
Re:Deca - a systems language based on modern PL principles
on Sunday January 01, 2012 @05:46PM (#3414061)
The dissertation says it's Deca. DecaC stands for Deca Compiler.
Re:Deca - a systems language based on modern PL principles
on Sunday January 01, 2012 @05:32PM (#3414027)
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
Re:Deca - a systems language based on modern PL principles
on Sunday January 01, 2012 @05:28PM (#3414017)
If you read the dissertation, it turns out that variables are captured by value. But even if they are captured by reference - solutions are possible such as the one in C++11. The decac doesn't provide more memory safety than C, so there are no problems :) Yet another solution is to inline all higher-order functions so no closures exist at runtime.