MaxBarraclough

Joined 12 years ago

Karma
11,168
Submissions
5,384
Member since
Feb 25
View on Hacker News

Recent submissions

Comment · 2 days ago
They cannot. Linux success has nothing to do with GPL is in direct contradiction with I really think the license has been one of the defining factors in the success of Linux.
Comment · 3 days ago
Comment · 3 days ago
It does more than merely being different, it also collides with the name of another Google project: the Carbon programming language.
Comment · 3 days ago
Comment · 3 days ago
> Mark my words

We will also compile them, and reference their execution tokens from the dictionary.

Comment · 3 days ago
Factor looks like a more conventional language, with dynamic typing, automatic memory management, etc. It sounds quite far from Forth's roots as a compact assembly sequence that enables interpretation of a minimal language just barely atop the bare metal.

fallat said they were interested in teaching a 'grassroots' language. By that I think they mean something with a minimal core language and compact interpreter, so Forth seems like the better fit.

Comment · 3 days ago
Comment · 16 days ago
> I've experienced a huge amount of friction trying to enable features that cost something resembling 0.5% of fleet performance, even when they provide massive benefits. 12% loss would be laughed out of the room.

A 12% difference in performance between two compilers, for some given application, is possible even between two of the best optimising compilers available. A 12% performance lag does not necessarily relegate a compiler to obscurity.

The long-entrenched MSVC compiler is still a major player despite that, for at least some applications and for at least some compiler versions, Clang outperforms it by far more than 12%. [0][1]

If a new Rust compiler really could offer significantly fewer compiler bugs, that would of course need to be weighed against any performance penalty, and the proper tradeoff would of course depend on the project.

> I agree that this is an impressive feat. I also don't see why an equivalent for rust would be adopted.

I imagine it wouldn't be widely adopted for most applications. CompCert itself is pretty niche. It's not Free and Open Source software, which I suspect is a factor, alongside its technical drawbacks.

Unless you're working on ultra-low-defect software, such as in a safety-critical domain, compiler bugs are unlikely to be a major factor in your software's quality. If the compiler lacks support for interesting language features, it becomes an even harder sell for 'ordinary' projects that are able to tolerate an ordinary number of compiler bugs.

[0] https://lemire.me/blog/2023/02/27/visual-studio-versus-clang...

[1] https://discuss.python.org/t/using-clang-cl-for-better-perfo...

Comment · 17 days ago
Comment · 18 days ago
How could the specifics of TLS help deter/block bots?
Comment · 18 days ago
Comment · 20 days ago
> VM breakouts are becoming trivial

They are not. When discovered, they are still big news. With few exceptions, businesses (and other institutions) continue to treat the cloud providers' VM-as-a-service offerings as secure. AI can aid the defenders too.

> So everyone should be considering how to bake better security into the their runtimes.

If VM isolation is not trustworthy, my first concern would be whether the other VMs on the physical host machine might do something malicious and break into my VM.

Comment · 26 days ago
If it were practical and if there were significant performance benefits (on modern heavyweight CPUs) to tailoring the calling convention on a per-function basis, I'd expect to see it done in optimising JIT engines like Java HotSpot. As far as I know, they don't bother.

I'm no expert but I suspect jcranmer's comment has it right that you end up doing cross-function register-allocation while foregoing the other benefits of just inlining. I also suspect the payoff would be minimal on modern heavyweight hardware. I can see it making more of a difference on a very minimal embedded processor, or if optimising for the smallest binary possible.

Comment · 1 month ago
They could apply a different policy to their web-based dashboard GUIs (if these do exist) than to the web browser.
Comment · 1 month ago
Interesting, thanks.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton