Readit News logoReadit News
jbritton commented on QUIC for the kernel   lwn.net/Articles/1029851/... · Posted by u/Bogdanp
jbritton · 25 days ago
The article didn’t discuss ACK. I have often wondered if it makes sense for the protocol to not have ACKs, and to leave that up to the application layer. I feel like the application layer has to ensure this anyway, so I don’t know how much benefit it is to additionally support this at a lower layer.
jbritton commented on Pony: An actor-model, capabilities-secure, high-performance programming language   ponylang.io/... · Posted by u/RossBencina
voidUpdate · a month ago
I wish these language websites would put an example of some code right there on the homepage so I can see what the language "feels" like. I finally found some code in the tutorials https://tutorial.ponylang.io/getting-started/hello-world
jbritton · a month ago
I see this comment on all language postings and I just don’t get it. I’m much more curious about the motivation behind the language. If the syntax was that of APL, Forth, or Prolog would you just instantly ignore it because it doesn’t look like Java. I think if the language motivation is compelling then you can decide to dive into a tutorial where the syntax will be explained step by step. I don’t see how syntax can be judged before it is understood. Do you accept/reject languages over simple syntax like curly braces vs begin/end or significant white space, or abbreviations you don’t like eg. def, fun, defun, function, procedure.

Dead Comment

Dead Comment

jbritton commented on RFK Jr.: HHS moves to restore public trust in vaccines   wsj.com/opinion/rfk-jr-hh... · Posted by u/ceejayoz
chris_wot · 3 months ago
Dear god, there are mechanisms in place for this already, and they are so loose they are farcical.

It’s incredible when I read this sort of comment, and then I realise that the comment is so badly ill informed that I need to respond. But it does make me wonder what sources of information the other person is reading…

jbritton · 3 months ago
Well then what are you reading. It’s well known that Pfizer and Moderna required immunity from lawsuits in order to provide the vaccine and every country gave them that immunity. Here it is from CNBC. https://www.cnbc.com/amp/2020/12/16/covid-vaccine-side-effec...

Perhaps you were thinking about compensation from the government, but the original poster was talking about actually holding Pfizer and Moderna liable.

jbritton commented on Discovering a JDK Race Condition, and Debugging It in 30 Minutes with Fray   aoli.al/blogs/jdk-bug/... · Posted by u/aoli-al
brabel · 3 months ago
> Like, actors can trivially deadlock/livelock,

Oh my ... you never seen a proper Actor language, have you?

Have a look at Erlang and Pony, for starters. It will open your mind.

This in particular is great: https://www.ponylang.io/discover/what-makes-pony-different/#...

> Pony doesn’t have locks nor atomic operations or anything like that. Instead, the type system ensures at compile time that your concurrent program can never have data races. So you can write highly concurrent code and never get it wrong.

This is what I am talking about.

> You make it sound like there is some modern development superseding what java has, but that's absolutely not the case.

Both Actor-model languages and Rust (through a surprisingly different path: tracking aliases and lifetimes) do something that's impossible in Java (and most languages): prevent data races due to improper locking (as mentioned above, if your language even has locks and it doesn't make them safe like Rust does, you know you're going to have a really hard time. actor-languages just eliminate locks, and "manual concurrency", completely). Other kinds of races are still possible, but preventing data races go a very, very long way to making concurrency safe and easy.

jbritton · 3 months ago
Perhaps there is some confusion here between data races and race conditions. Rust and Pony prevent data races, but not race conditions.
jbritton commented on How to have the browser pick a contrasting color in CSS   webkit.org/blog/16929/con... · Posted by u/Kerrick
jbritton · 3 months ago
At a minimum it would be nice to know good colors for the pseudo classes active, focus, hover, link, visited and their various combinations for a light and dark theme. Additionally material UI adds disabled, before, after.
jbritton commented on Covid-19 vaccines associated with a reduction in ovarian reserve in rats   pmc.ncbi.nlm.nih.gov/arti... · Posted by u/b800h
jbritton · 3 months ago
This got flagged yesterday and I was pretty disappointed by that. The single post said it was FUD and linked a different study, which was on sperm, not eggs. And this study on rats is about a publication in the journal of virology, which I assume raises it above the level of FUD.
jbritton commented on UI components for building fantastic desktop application by using GPUI   github.com/longbridge/gpu... · Posted by u/0x1997
jbritton · 4 months ago
Is text rendered on the CPU or rendered on the GPU or Use quads, a texture, and a font atlas
jbritton commented on Zig: A new direction for low-level programming?   bitshifters.cc/2025/05/04... · Posted by u/hmac1282
jbritton · 4 months ago
Instinctually I’m bothered by passing an allocator to everything. LISP’s dynamic variables spring to mind. One could set an arena allocator at the top of a loop in a dynamic variable and then everything inside the loop would use that allocator. The bottom of the loop could free everything. Although I do really like knowing if something might call an allocator, perhaps a function specifier to indicate it allocates.

Although I’m intrigued by another idea I haven’t thought through. Haskell requires all function side effects to essentially propagate a description of the side effect up to main() where Haskell executes the side effect. There is also the idea of imperative shell, functional core that I don’t fully grasp. In any case perhaps all side effects should execute at the top level or maybe in a parallel environment and here passing an allocator would not be so onerous.

u/jbritton

KarmaCake day302March 18, 2015View Original