dccsillag

Joined 3 years ago

Karma
70
Submissions
24
Member since
Mar 21
I'm an applied mathematician working on machine learning, statistics and compilers.

https://dccsillag.xyz/

View on Hacker News

Recent submissions

Comment · 7 months ago
I'm sorry, but what exactly is the problem with the code? I've been staring at it for quite a while now and still don't see what is counterintuitive about it.
Comment · 1 year ago
Take enough moments and you'll be able to differentiate any distributions.
Comment · 1 year ago
I think you vastly overestimate the capacity of Python typing.
Comment · 1 year ago
Typing still sucks big time. Same for perf, unless you are working with numerics that fit with something like NumPy or JAX.
Comment · 1 year ago
Comment · 1 year ago
Hard disagree. There are a lot of implementation "details" that, if you want to do properly, are a lot of hard work and very much nontrivial. For example, do try to write a compiler with efficient incremental compilation, and especially one that does so while also having optimization passes. And that's just one example, most things in compiler implementations actually turn out to be fairly complex. And lots of features that modern languages support e.g. more powerful typesystems, trait/typeclass systems, etc. are also very very tricky.

While designing a language is by no means trivial, it generally really occupies just a very small fraction of the language/compiler developer's time. And, in most cases, the two things (language design + implementation details) have to walk hand-in-hand, since small changes to the language design can vastly improve the implementation end.

Comment · 1 year ago
I've never seen this done in a research setting. Not sure about how much of a standard practice it is.
Comment · 1 year ago
Comment · 1 year ago
Yeah, I'm fairly sure that there is such a flag/toplevel attribute... and if there isn't, there should be one.

It also feels like most of the pains on avoiding panics centers around allocations which, though a bit unfortunate, makes sense; it was an intentional design choice to make allocations panic instead of return Results, because most users of the language would probably crash on allocation fails anyways and it would introduce a lot of clutter. There was some effort some while ago on having better fallible allocations, but I'm not sure what happened over there.

Comment · 1 year ago
Can we please rename this submission? This is excessively grandiose, way over the top......
Comment · 1 year ago
If I'm not mistaken, the treatment of forward declarations proposed in the article actually breaks the C standard, which would be a rather pressing concern. As far as I am aware, that is the reason why things are the way they are right now in C land.

(In the past, there were more legitimate concerns on the ease of implementation. Nowadays, as the article points out, they are pretty moot, other than having to keep backwards-compatibility.)

I'm also rather bothered that on the bit on const execution in the article, there was no discussion on how to deal with functions that may not terminate or take rather long to execute. Especially considering the unit tests motivation, this seems like a rather blaring omission.

Comment · 1 year ago
Comment · 1 year ago
I've used Quiver a number of times now, and all of them were great experiences. Kudos to the authors!
Comment · 1 year ago
(Side note) That's odd, lobste.rs seems to be down for me, and has been like that for a couple of months now -- I literally cannot reach the site.

Is that actually just me??

EDIT: just tried some things, very weird stuff: curl works fine. Firefox works fine. But my usual browser, Brave, does not, and complains that "This site can't be reached (ERR_INVALID_RESPONSE)". Very very very weird, anyone else going through this?

Comment · 1 year ago
Well, yes, but that's an extremely low bar!!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton