frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

FEXPRs vs. vtable: how LispE interpreter works

https://github.com/naver/lispe/wiki/2.7-FEXPR-vs.-vtable
16•birdculture•2d ago

Comments

Joker_vD•1h ago
> What LispE proposes is to turn each instruction of the language into a derived class that exposes an eval method. Every class has its own override of eval. And since all these classes derive from a single mother class with an original and evocative name, Element, you can build a C++ vector that holds them all. And that is where the miracle happens: the AST is kept alive, but each node is an object that can be optimized to the hilt with the full C++ arsenal.

That's... a tree-walking interpreter. And IIRC the most overhead of it comes from traversing the tree itself, then from the overhead of invoking (virtual) eval() methods, and only then from whatever inefficiencies are inside of those tiny eval() implementations.

ncruces•16m ago
If you build flattened a vector of them (as they argue), it can approach a byte code interpreter, though it won't be a very dense vector, if it holds "pointers" (that you need to chase) to the instructions instead of the instructions themselves.

A lot of the slowness of interpreters (and why JITs work) comes from the fact that you're executing (and trying to predict) the interpreter's branches - not the branches in the interpreted code.

This doesn't move the needle there, at all.

sourdecor•1h ago
What I find interesting is not only that this is a cool alternative Lisp but that it is developed by a Korean company called Naver[0].

[0]: https://github.com/naver

[1]: https://www.naver.com/

rjsw•11m ago
Lisp has had good native compilers for a long time, just use one of those.

Why have papers by one of history's most famous physicists been retracted?

https://www.science.org/content/article/why-have-papers-one-history-s-most-famous-physicists-been...
62•adharmad•40m ago•16 comments

Incident CVE-2026-LGTM

https://nesbitt.io/2026/06/26/incident-report-cve-2026-lgtm.html
116•mooreds•1h ago•28 comments

Om Malik has died

https://om.co/2026/06/24/1966-2026/
1103•minimaxir•18h ago•130 comments

An entire Herculaneum scroll has been read for the first time

https://scrollprize.org/firstscroll
1473•verditelabs•23h ago•316 comments

Ultrasound Imaging of the Brain

https://alephneuro.com/blog/ultrasound-brain
33•rossant•3h ago•7 comments

Bipartite Matching Is in NC

https://scottaaronson.blog/?p=9851
63•amichail•3d ago•4 comments

Libre Barcode Project

https://graphicore.github.io/librebarcode/
225•luu•11h ago•36 comments

What happened after 2k people tried to hack my AI assistant

https://www.fernandoi.cl/posts/hackmyclaw/
266•cuchoi•12h ago•113 comments

Framework's 10G Ethernet module exposes USB-C's complexity

https://www.jeffgeerling.com/blog/2026/framework-10g-ethernet-module-usb-c-complexity/
252•Alupis•13h ago•136 comments

Show HN: WebBase-III – dBASE III rebuilt in the browser with its own interpreter

https://github.com/DDecoene/WebBaseIII
32•ddecoene•2d ago•10 comments

A forgotten social media post may hold key clues to Covid-19's origin

https://www.science.org/content/article/forgotten-social-media-post-may-hold-key-clues-covid-19-s...
9•bookofjoe•53m ago•0 comments

22-year-old Mozart's handwritten notebook unearthed in 'major discovery'

https://www.classicfm.com/composers/mozart/handwritten-notebook-discovered-major-paris/
145•thunderbong•5d ago•35 comments

FEXPRs vs. vtable: how LispE interpreter works

https://github.com/naver/lispe/wiki/2.7-FEXPR-vs.-vtable
17•birdculture•2d ago•4 comments

The 'papers, please' era of the internet will decimate your privacy

https://expression.fire.org/p/the-papers-please-era-of-the-internet
901•bilsbie•17h ago•444 comments

A game where you're an OS and have to manage processes, memory and I/O events

https://github.com/plbrault/youre-the-os
295•exploraz•3d ago•55 comments

We all depend on open source. We will defend it together

https://akrites.org/letter/
357•dhruv3006•9h ago•169 comments

The Garbage Collection Handbook: The Art of Automatic Memory Management (2nd Ed) (2023)

https://gchandbook.org/
192•teleforce•15h ago•39 comments

The AI backlash is only getting started

https://www.economist.com/leaders/2026/06/25/the-ai-backlash-is-only-getting-started
51•andsoitis•1h ago•71 comments

Oxide computer 3D rack guided tour

https://explorer.oxide.computer/
422•darthcloud•3d ago•173 comments

IBM debuts sub-1 nanometer chip technology

https://newsroom.ibm.com/2026-06-25-ibm-debuts-worlds-first-sub-1-nanometer-chip-technology
354•porridgeraisin•23h ago•191 comments

Hey Nico, you didn't vibe code your data room but stole it from Papermark

https://twitter.com/mfts0/status/2070080422482977095
481•mmunj•1d ago•196 comments

Show HN: OpenKnowledge – open source AI-first alternative to Obsidian/Notion

https://github.com/inkeep/open-knowledge
322•engomez•22h ago•155 comments

Show HN: Chess-Inspired Roguelike

https://princechazz.com
371•cowboy_henk•5d ago•120 comments

Un-0: Generating Images with Coupled Oscillators

https://unconv.ai/blog/introducing-un-0-generating-images-with-coupled-oscillators/
172•babelfish•18h ago•41 comments

Microbubbles in Medicine

https://worksinprogress.co/issue/microbubbles/
20•Jimmc414•4d ago•3 comments

The best thing that has ever happened for multiplayer games

https://mas-bandwidth.com/the-best-thing-that-has-ever-happened-for-multiplayer-games/
23•gafferongames•4d ago•6 comments

An oral history of Bank Python (2021)

https://calpaterson.com/bank-python.html
149•tosh•18h ago•59 comments

The Doorman's Fallacy in action

https://rozumem.xyz/posts/17
171•rozumem•18h ago•225 comments

Apple raises prices of MacBooks, iPads

https://www.reuters.com/world/asia-pacific/apple-raises-prices-macbooks-ipads-memory-costs-skyroc...
778•virgildotcodes•1d ago•1141 comments

Zig's new bitCast semantics and LLVM back end improvements

https://ziglang.org/devlog/2026/#2026-06-25
261•kouosi•1d ago•128 comments