frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Rating 26 years of Java changes

https://neilmadden.blog/2025/09/12/rating-26-years-of-java-changes/
68•PaulHoule•3h ago•64 comments

The <output> Tag

https://denodell.com/blog/html-best-kept-secret-output-tag
670•todsacerdoti•13h ago•152 comments

How Apple designs a virtual knob (2012)

https://jherrm.github.io/knobs/
71•gregsadetsky•4d ago•46 comments

Microsoft only lets you opt out of AI photo scanning 3x a year

https://hardware.slashdot.org/story/25/10/11/0238213/microsofts-onedrive-begins-testing-face-reco...
168•dmitrygr•3h ago•55 comments

Testing two 18 TB white label SATA hard drives from datablocks.dev

https://ounapuu.ee/posts/2025/10/06/datablocks-white-label-drives/
102•thomasjb•5d ago•57 comments

GNU Health

https://www.gnuhealth.org/about-us.html
281•smartmic•5h ago•78 comments

Vibing a non-trivial Ghostty feature

https://mitchellh.com/writing/non-trivial-vibing
168•skevy•7h ago•89 comments

Superpowers: How I'm using coding agents in October 2025

https://blog.fsck.com/2025/10/09/superpowers/
221•Ch00k•14h ago•140 comments

AMD and Sony's PS6 chipset aims to rethink the current graphics pipeline

https://arstechnica.com/gaming/2025/10/amd-and-sony-tease-new-chip-architecture-ahead-of-playstat...
268•zdw•17h ago•326 comments

The World Trade Center under construction through photos, 1966-1979

https://rarehistoricalphotos.com/twin-towers-construction-photographs/
158•kinderjaje•4d ago•78 comments

Windows Subsystem for FreeBSD

https://github.com/BalajeS/WSL-For-FreeBSD
185•rguiscard•14h ago•64 comments

Microsoft Amplifier

https://github.com/microsoft/amplifier
179•JDEW•6h ago•113 comments

Building a JavaScript Runtime from Scratch using C

https://devlogs.xyz/blog/building-a-javaScript-runtime
52•redbell•3d ago•19 comments

A quiet change to RSA

https://www.johndcook.com/blog/2025/10/06/a-quiet-change-to-rsa/
75•ibobev•5d ago•26 comments

People regret buying Amazon smart displays after being bombarded with ads

https://arstechnica.com/gadgets/2025/10/people-regret-buying-amazon-smart-displays-after-being-bo...
68•croes•3h ago•28 comments

Indonesia says 22 plants in industrial zone contaminated by caesium 137

https://www.reuters.com/sustainability/boards-policy-regulation/indonesia-says-22-plants-industri...
20•geox•1h ago•8 comments

All-New Next Gen of UniFi Storage

https://blog.ui.com/article/all-new-next-gen-of-unifi-storage
20•ycombinete•3d ago•14 comments

I built physical album cards with NFC tags to teach my son music discovery

https://fulghum.io/album-cards
532•jordanf•1d ago•183 comments

Wilson's Algorithm

https://cruzgodar.com/applets/wilsons-algorithm/
31•FromTheArchives•8h ago•6 comments

How to check for overlapping intervals

https://zayenz.se/blog/post/how-to-check-for-overlapping-intervals/
70•birdculture•6h ago•20 comments

(Re)Introducing the Pebble Appstore

https://ericmigi.com/blog/re-introducing-the-pebble-appstore/
249•duck•23h ago•47 comments

Crypto-Current (2021)

https://zerophilosophy.substack.com/p/crypto-current
11•keepamovin•5d ago•3 comments

How hard do you have to hit a chicken to cook it? (2020)

https://james-simon.github.io/blog/chicken-cooking/
163•jxmorris12•19h ago•95 comments

Otary now includes 17 image binarization methods

https://alexandrepoupeau.com/otary/api/image/transformers/thresholding/
5•poupeaua•4d ago•2 comments

A Library for Fish Sounds

https://nautil.us/a-library-for-fish-sounds-1239697/
30•pistolpete5•4d ago•4 comments

Discord hack shows risks of online age checks

https://news.sky.com/story/discord-hack-shows-dangers-of-online-age-checks-as-internet-policing-h...
132•ColinWright•2h ago•41 comments

Tangled, a Git collaboration platform built on atproto

https://blog.tangled.org/intro
295•mjbellantoni•1d ago•81 comments

Daniel Kahneman opted for assisted suicide in Switzerland

https://www.bluewin.ch/en/entertainment/nobel-prize-winner-opts-for-suicide-in-switzerland-261946...
469•kvam•13h ago•434 comments

Diane Keaton, a Star of 'Annie Hall' and 'First Wives Club,' Dies at 79

https://www.nytimes.com/2025/10/11/movies/diane-keaton-dead.html
6•mhb•50m ago•0 comments

Programming in the Sun: A Year with the Daylight Computer

https://wickstrom.tech/2025-10-10-programming-in-the-sun-a-year-with-the-daylight-computer.html
162•ghuntley•21h ago•52 comments
Open in hackernews

Building a JavaScript Runtime from Scratch using C

https://devlogs.xyz/blog/building-a-javaScript-runtime
52•redbell•3d ago

Comments

TheCleric•5h ago
I was a little disappointed that this was “just” a wrapper for JavaScriptCore.
jesse__•5h ago
Yeah, I was expecting a lot more than "I glued some libraries together in C!", especially when the author is claiming 'from scratch'. Seems like a somewhat disingenuous title if you ask me..
jakogut•3h ago
I suppose when your accustomed level of abstraction is interpreted languages like JavaScript, and "the web", "gluing some libraries together in C" is a somewhat novel and interesting endeavor.
jesse__•55m ago
I bit my tongue and decided to hold that jab at JavaScript programmers, but yeah, I think that's exactly what were looking at here
Minor49er•5h ago
Agreed. It contradicts the whole "from scratch" idea. The article even has an engine implementation section where it just calls JavaScriptCore as you mentioned. It's a cool wrapper, but a misleading and disappointing article
curtisblaine•4h ago
To be fair, all commercial non-browser runtimes (node, bun, deno) are "just" wrappers of V8 or JSC. Some more experimental ones are "just" wrappers of QuickJS and other less known engines.
throwawaymaths•4h ago
iiuc its a runtime because the engine just dispatches one javascript microtask and returns to the runtime with a stack of remaining microtasks
gr4vityWall•4h ago
Although not intuitive, it's common to call that the 'runtime' in the JS world, while V8 and JSC would be called 'JS engines'.

Deno used similar wording in a tutorial for creating your own JS runtime using Rust and V8 bindings: https://deno.com/blog/roll-your-own-javascript-runtime

IMO the tutorial is still cool nonetheless, it's a fun subject.

bryanrasmussen•5h ago
I guess I would like to see defining your global object in a real use case and adding some functions to your global object that make sense, which admittedly once you ask someone to do the creative work of making a use case that is sensible as they start implementing it they might find it is more useful to complete the implementation of that use case rather than releasing a starter tutorial.
yb303•4h ago
This is not "Building from scratch" This is just using.
Spivak•3h ago
Runtime is the glue between JS Engine and OS which is from scratch. Runtime embeds engine and lets engine talk to the outside world.
throwawaymaths•57m ago
engines only execute one JS microtask at a time, you must run it in something, that's the runtime.
lerp-io•3h ago
unpopular comment : v8 > JavaScriptCore.
dunham•3h ago
In general, yes, although it's nice to have more than one javascript implementation. And one advantage of JSC is that it implements tail call optimization (per the ES6 spec).

I wrote my own language that targeted javascript. When I made my language self-hosting, I initially used `bun` (based on JSC), so I wouldn't have to implement a tail call transformation myself. It was expedient.

My goal was to run in a browser, so I did eventually add that transformation and found that my compiler was 40% faster running in node (based on v8).

claytongulick•3h ago
For those who would like a true "from scratch" implementation of JavaScript, Fabrice Bellard's QuickJS [1] is clean, readable and approachable. It's a full implementation of modern JavaScript in a straightforward project, not nearly as complex or difficult as V8.

[1] https://bellard.org/quickjs/

hackthemack•3h ago
QuickJS is amazing. You can put in javascript code, run it through QuickJS and make little binary utilities to run on their own.

Someone took QuickJS and put it in wasm so you can run QuickJS in the browser or in node.

https://github.com/justjake/quickjs-emscripten

Fabrice Bellard is on another planet when it comes to programming. He also wrote FFmpeg and QEMU (among other things).

jhgb•2h ago
To be fair, there's no claim being made that this was supposed to be a from-scratch implementation of Javascript. Just an equivalent to Deno/Node which don't have their own implementation of Javascript either.
djmips•3h ago
This could useful to reference for when you want to put a JavaScript interpreter in your own custom software. For example I've seen JavaScript used for console game UI systems.
measurablefunc•1h ago
How about a formally verified runtime that takes the JS spec & constructs a runtime by converting the spec w/ incremental & verifiable transformations into an executable runtime?