Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Mockfreeli – paste a YouTube link, get 5 license-free songs that sound like it(mockfreeli.org ↗)
    discuss
  2. The US Gov Graph – a complete map of the federal government(civlab.org ↗)
    discuss
  3. What If You Could Do It All Over?(newyorker.com ↗)
    1comments
  4. Permission to Live (In Japan)(buttondown.com/whatever_jamie ↗)
    1comments
  5. SpaceX's next Starship launch is Sept. 22, aims to reach orbit for first time(space.com ↗)
    discuss
  6. The End of Verygoodsoftwarenotvirus.ru(verygoodsoftwarenotvirus.dev ↗)
    discuss
  7. Asking Authors About Their Own Papers(medium.com/tmlrorg ↗)
    discuss
  8. Next-gen gravitational wave detectors could spot the first black holes(phys.org ↗)
    discuss
  9. US interest rates raised for first time in three years(bbc.com ↗)
    discuss
  10. My website charged AI agents a penny per page. I watched Claude pay it(suganthan.com ↗)
    1comments
  11. Show HN: Helping agents break out of their sandboxes in a monitorable way(sparrowsystems.co ↗)
    discuss
  12. Encouraging Deception in Compaction Summaries(alignment.openai.com ↗)
    discuss
  13. vLLM: Jev-like mode for the DiffusionGemma model(github.com/vllm-project ↗)
    discuss
  14. DeepSeek's Parent Company(high-flyer.cn ↗)
    discuss
  15. The Flask Mega-Tutorial, Part I: Hello, World(miguelgrinberg.com ↗)
    discuss
  16. Typesafe.ai Jev Open Source Alternative Qwen-2.5-1B-RLCD(huggingface.co ↗)
    discuss
  17. AI Debt vs. Treasuries(ft.com ↗)
    1comments
  18. "WeWorm": Zero-click worm could have taken over all WeChat accounts(heise.de ↗)
    discuss
  19. Dwarf Star Support for Qwen3.8 Flash Next(github.com/antirez ↗)
    discuss
  20. YuE2 – Frontier music generation with editable scores(github.com/multimodal-art-projection ↗)
    discuss
  21. Pactora – AI contract review built by a lawyer, not engineers(pactora.uk ↗)
    discuss
  22. Automattic says CEO Mullenweg was gone and back inside 33 hours. What happened?(thenewstack.io ↗)
    discuss
  23. OpenSpec – A lightweight and configurable AI spec framework(openspec.dev ↗)
    6comments
  24. Calculator for Australian take-home pay, tax and super(auspaycalculator.org ↗)
    discuss
  25. How much does one hour of bots cost on Cloudflare Workers?(gfuse.dev ↗)
    discuss
  26. Plans for Agents (and Humans)(hive.technology ↗)
    discuss
  27. Australia says it could follow Canada in forging deeper ties with EU(independent.co.uk ↗)
    11comments
  28. Fossil tooth analysis confirms Tyrannosaurus rex was warm-blooded(cnn.com ↗)
    discuss
  29. The mascots, design and visual history of Wikipedia(itsnicethat.com ↗)
    discuss
  30. 60%+ of Japan firms with foreign workers would struggle without overseas hiring(japantimes.co.jp ↗)
    discuss

Ribbit: A Small Scheme VM, Compiler and REPL in 4K (2021) [video]

2 pointsby 1h agoyoutube.com
1 comments
1h agoHN ↗

Compact language implementations are increasingly popular for use in resource constrained environments. For embedded applications such as robotics and home automation, it is useful to support a Read-Eval-Print-Loop (REPL) so that a basic level of interactive development is possible directly on the device. Due to its minimalistic design the Scheme language is particularly well suited for such applications and several implementations are available with different tradeoffs. In this paper we explain the design and implementation of a compact Scheme system that supports a REPL, is extensible and has a 4 KB executable code footprint.

https://github.com/udem-dlteam/ribbit

https://arxiv.org/abs/2310.13589

Abstract.

The Ribbit system is a compact Scheme implementation running on the Ribbit Virtual Machine (RVM) that has been ported to a dozen host languages. It supports a simple Foreign Function Interface (FFI) allowing extensions to the RVM directly from the program’s source code. We have extended the system to offer conformance to the R4RS standard while staying as compact as possible. This leads to a R4RS compliant REPL that fits in an 7 KB Linux executable. This paper explains the various issues encountered and our solutions to make, arguably, the smallest R4RS conformant Scheme implementation of all time.

Previous:

https://news.ycombinator.com/item?id=31096771

https://news.ycombinator.com/item?id=41524517

Try the online R4RS REPL here :

https://udem-dlteam.github.io/ribbit/repl-r4rs-tc.html