HN user

divs1210

703 karma
Posts33
Comments359
View on HN
github.com 2mo ago

Show HN: CSP Benchmarks – Go vs. core.async (Clojure) vs. libgoc (C)

divs1210
2pts3
github.com 3mo ago

Show HN: Libgoc – Go-like CSP-style HTTP client/server library for C

divs1210
1pts0
github.com 4mo ago

Libgoc: A Go-style CSP concurrency runtime for C

divs1210
3pts1
thedebrief.org 3y ago

Impossible Quantum Drive Scheduled for “Do or Die” October Space Flight

divs1210
4pts1
www.microsoft.com 5y ago

Perceus: Garbage Free Reference Counting with Reuse [pdf]

divs1210
1pts0
news.ycombinator.com 6y ago

Ask HN: Does Java need value types, now that Espresso is in the works?

divs1210
2pts1
news.ycombinator.com 6y ago

Ask HN: Why do mainstream dynamic languages not ship with compilers?

divs1210
1pts7
www.youtube.com 7y ago

MMORPG to train Medical Professionals

divs1210
2pts0
www.thehindu.com 7y ago

IISc claim of zero electrical resistance at high temperatures replicated

divs1210
3pts0
www.youtube.com 7y ago

Half-Life: Echoes – lone hacker putting AAA games to shame

divs1210
3pts0
www.firstpost.com 7y ago

Swarm Technology fined for putting rogue satellites in orbit

divs1210
1pts0
www.youtube.com 7y ago

Indian Sci-Fi TV Series from 1998

divs1210
5pts1
www.youtube.com 7y ago

Alan Kay – Is it too late to invent a healthy future?

divs1210
3pts0
news.ycombinator.com 7y ago

Ask HN: How do VMs hot swap native code?

divs1210
4pts3
www.atalon.cz 7y ago

What is a Metaclass?

divs1210
1pts0
www.reddit.com 7y ago

Pizza Hut India Leaking Customer Data

divs1210
2pts0
www.thehindu.com 8y ago

How Piracy Changed the Lives of the Nicobarese

divs1210
1pts0
github.com 8y ago

Show HN: Coroutines.js – Green Threads in Vanilla JS

divs1210
1pts0
sekao.net 8y ago

Nightlight – An embedded editor for Clojure

divs1210
3pts0
www.rockhuntrs.com 9y ago

Show HN: Rock music discovery webapp in Clojure/Script

divs1210
1pts0
www.youtube.com 10y ago

Putin on ISIS

divs1210
1pts0
avout.io 10y ago

Avout: Distributed State in Clojure

divs1210
33pts3
github.com 10y ago

Show HN: A simple meta-circular bytecode interpreter in Clojure

divs1210
19pts0
github.com 10y ago

Show HN: A simple meta-circular bytecode interpreter in Clojure

divs1210
1pts0
github.com 11y ago

POPO FSM

divs1210
1pts0
gist.github.com 11y ago

Show HN: A simple bytecode interpreter in Clojure

divs1210
1pts0
gist.github.com 11y ago

Show HN: A Taste of Clojure for the Cjurious

divs1210
2pts0
pizzaforthought.blogspot.com 11y ago

What drove H.P. Lovecraft?

divs1210
1pts0
pizzaforthought.blogspot.com 11y ago

Maya – a DSL for math and numerical work

divs1210
26pts6
pizzaforthought.blogspot.com 11y ago

Objectifying Clojure

divs1210
2pts0

Hi, Alex!

Happy you find it cool!

I will update the Clojure and core.async versions to latest.

You're right I forgot to mention the JVM version in the benchmarks.

I'll be running fresh benchmarks once the current task I'm working on is done.

I will have to look into io-thread, not familiar with it.

Although my aim with the benchmarks is to have nearly identical code for all platforms without any platform-specific optimizations - I'm not sure yet how io-thread plays into that.

Will definitely add the JVM version and update Clojure dependencies and let you know when I have fresh benchmarks.

Half-Life 1 year ago

Half Life is my favorite game franchise of all time.

Played all the canon games and SO MANY mods.

Still obsessed with it.

Easy to write bugs in unsafe languages like C / C++.

Rust makes memory management explicit, hence eliminating those bugs. But it also shows how hard memory management actually is.

Systems programming languages like this should be used sparingly, only for stuff like device drivers, OSs and VMs.

Any general purpose programming language should be garbage collected.

Particle spin explained:

Imagine a ball that’s rotating,

Except it’s not a ball, and

It’s not rotating.

(popular particle physics meme)

From what I understand of QFT, the Universe is made of fields of different types, and a “fundamental particle” is just an excitation (wave) in the corresponding field.

For example, a photon is a wave in the universal electromagnetic field, A charm quark is a wave in the universal charm quark field, etc.

I’m not a trained physicist, so I might be wildly wrong.

TypeScript 5.0 3 years ago

I didn't know Java had a `function` keyword.

That is TS, not Java. Not sure why the gp is calling it Java.

No shared mutability. This is an unrealistic constraint;

Hard disagree.

It is impossible to safely use shared mutable state b/w parallel processes.

See how DB isolation levels work - serializable is the only safe way to go if your processes do anything conditional on the current state. To parallelize, you have to partition the DB which is kind of a cheap way to split one physical DB into separate logical DBs.

So even DBs - the largest shared mutable states we have - are also not really shared mutable states. They need to be broken down into unshared mutable states to be useful.

Shared mutable state is a smell both at the code level and system level.

Without those lightweight processes that process messages sequentially from their inbox these behaviors won't give the same concurrency guarantees.

I don't know why the author is turning this into a competition of whether processes are more important or behaviors - they both are parts of a well designed system that work well together.

GenServers etc can't be written equivalently in Go/Java since goroutines and Java threads (even the new virtual threads) are not pre-emptive, whereas Erlang processes are truly independent.

So you see someone's

- open source project on the internet

- that clearly states it's a research project

and instead of commenting on the project, you complain that it doesn't have the libraries you need for your job.

Brilliant!

The paper is surreal.

An AI paper that starts with experiments on drowning cats and religious chimpanzees.

Then it talks about making the system by cutting up a large wire mesh and assembling it back randomly.

Then it talks about simulating the system on a computer, and coding it in a programming language called YAWN that is like English.

Then it says that they could not obtain the machine that runs YAWN programs, so they emulated that machine on another computer (IBM 704).

Then it says (excitedly) that the machine printed gibberish when presented with a certain input and on another run ejected the input punched card twice.

I'm not sure if this is real or a joke.

I'm not sure if the experiment itself was designed as a joke to waste US military's computer time.

I'm not sure if this has some deep lessons.

To me, it felt like when Dumbledore set the chicken on fire in HPMOR.