frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

1ML for non-specialists: introduction

https://pithlessly.github.io/1ml-intro
37•birdculture•1mo ago

Comments

Y_Y•4w ago
1ML, not 1M
abetusk•4w ago
Title is "1ML for non-specialists: introduction".

From the article:

> 1ML is a type system designed by Andreas Rossberg and described in a ollection of papers by him

randomNumber7•4w ago
> communication barrier between academics who are in a position to discuss 1ML in depth and people who are in a position to write new compilers

I think there is s.th. wrong when people working on type systems can't write compilers.

mgaunard•4w ago
Academic types are often not interested in practical things and getting their hands dirty.
ux266478•4w ago
As a pragmatic type, I find it endlessly disappointing how many other pragmatic types have absolutely zero familiarity or grounding in even surface level theoretic stuff that academic types are doing.
cap11235•4w ago
See also: golang
mjdv•4w ago
I would say we have a problem when people who write compilers can't read type theory papers, but then our backgrounds might differ. ;-)
trueismywork•4w ago
Type systems have many more applications than just compilers.
jlouis•4w ago
It's not that they can't. It's that it's a waste of time in most cases.

Compilers are moving targets because hardware changes. There's a considerable maintenance upkeep in a compiler.

So if you are interested in programming language semantics, you can opt to skip the compiler part. This lets you iterate language designs without the added baggage of translating said program to machine code.

You can also argue there's no need. If you present your programming language in operational semantics, then it's trivial to write that up as a prolog program and run it on a prolog interpreter. Then you can employ a partial evaluator, and the first Futamura-projection gives you a compiler. You can choose to host your prolog program in a programming language which already has access to a partial evaluator, and you are essentially done before you even started.

ux266478•4w ago
I'm someone who has used Prolog in the past, but this is the first time I'm learning of Futamura's work[1]. I knew it was great for building executable grammars, but I hadn't ever really tried to do so thus have absolutely no knowledge on the usual techniques. What an absolutely fascinating methodology, I can see exactly how it maps to Prolog.

[1] - https://static.aminer.org/pdf/PDF/001/006/665/partial_evalua...

juancn•4w ago
But even a toy compiler would be useful to inspire someone else to pick up the concepts.

It doesn't have to be production grade, just as a communication tool.

ux266478•4w ago
It's important to note that not every research area ends up being a surface-language, and oftentimes research projects remain in-progress for a long time. There does exist a freely available research implementation of a 1ML interpreter (though slightly behind the language's formalization) offered by the author:

https://people.mpi-sws.org/~rossberg/1ml/

The thing is that this is a research prototype, not a real compiler. It's not usable in the same degree as a language like SML or Haskell. There is a lot more work beyond a grammar that goes into creating a compiler for a high level language.

randomNumber7•3w ago
You could just target LLVM IR (or even simpler transpile to C). Should not take that much time for s.o. who knows what he is doing.
juancn•4w ago
I kind of agree, as a counterexample I think about Scala.

Martin Odersky I think influenced many other mainstream languages (including Java) that picked up functional concepts and integrated them with OOP.

Pure research is fine, but being right in a vacuum usually ends up reducing the impact and value of the research (or at least postponing it).

Language and compilers are more of an applied part of science, and I think it's best if they're treated more like engineering.

jlouis•4w ago
[Here, ML means "Meta Language", not "Machine Learning". ML is used as an important building block inside some theorem provers and proof assistants]

The key thing with 1ML is that it merges the core and module system.

The ML family has historically had two systems: core and module. They are stratified in the sense they are separate languages. Modules can contain core expressions, but the other way around isn't possible.

1ML blends module and core. This means you have first-class modules in the core, which leads to a pretty nice language design.

Furthermore, this being Andreas Rossberg, the rigor at which this is carried out is very high. There's proofs of type safety and correctness along the way, generally to the same high bar as Standard ML (SML).

France's homegrown open source online office suite

https://github.com/suitenumerique
105•nar001•1h ago•48 comments

Start all of your commands with a comma (2009)

https://rhodesmill.org/brandon/2009/commands-with-comma/
345•theblazehen•2d ago•117 comments

Hoot: Scheme on WebAssembly

https://www.spritely.institute/hoot/
49•AlexeyBrin•2h ago•10 comments

OpenCiv3: Open-source, cross-platform reimagining of Civilization III

https://openciv3.org/
734•klaussilveira•17h ago•230 comments

Reinforcement Learning from Human Feedback

https://arxiv.org/abs/2504.12501
29•onurkanbkrc•2h ago•2 comments

The Waymo World Model

https://waymo.com/blog/2026/02/the-waymo-world-model-a-new-frontier-for-autonomous-driving-simula...
990•xnx•22h ago•562 comments

Coding agents have replaced every framework I used

https://blog.alaindichiappari.dev/p/software-engineering-is-back
75•alainrk•2h ago•71 comments

Vocal Guide – belt sing without killing yourself

https://jesperordrup.github.io/vocal-guide/
114•jesperordrup•7h ago•52 comments

Unseen Footage of Atari Battlezone Arcade Cabinet Production

https://arcadeblogger.com/2026/02/02/unseen-footage-of-atari-battlezone-cabinet-production/
84•videotopia•4d ago•17 comments

Making geo joins faster with H3 indexes

https://floedb.ai/blog/how-we-made-geo-joins-400-faster-with-h3-indexes
144•matheusalmeida•2d ago•39 comments

Ga68, a GNU Algol 68 Compiler

https://fosdem.org/2026/schedule/event/PEXRTN-ga68-intro/
24•matt_d•3d ago•5 comments

Show HN: Look Ma, No Linux: Shell, App Installer, Vi, Cc on ESP32-S3 / BreezyBox

https://github.com/valdanylchuk/breezydemo
247•isitcontent•17h ago•27 comments

Cross-Region MSK Replication: K2K vs. MirrorMaker2

https://medium.com/lensesio/cross-region-msk-replication-a-comprehensive-performance-comparison-o...
6•andmarios•4d ago•1 comments

Monty: A minimal, secure Python interpreter written in Rust for use by AI

https://github.com/pydantic/monty
257•dmpetrov•17h ago•135 comments

Show HN: Kappal – CLI to Run Docker Compose YML on Kubernetes for Local Dev

https://github.com/sandys/kappal
6•sandGorgon•2d ago•2 comments

Show HN: I spent 4 years building a UI design tool with only the features I use

https://vecti.com
350•vecti•19h ago•157 comments

Hackers (1995) Animated Experience

https://hackers-1995.vercel.app/
518•todsacerdoti•1d ago•252 comments

Sheldon Brown's Bicycle Technical Info

https://www.sheldonbrown.com/
400•ostacke•23h ago•104 comments

What Is Ruliology?

https://writings.stephenwolfram.com/2026/01/what-is-ruliology/
52•helloplanets•4d ago•51 comments

Show HN: If you lose your memory, how to regain access to your computer?

https://eljojo.github.io/rememory/
316•eljojo•20h ago•196 comments

Microsoft open-sources LiteBox, a security-focused library OS

https://github.com/microsoft/litebox
365•aktau•23h ago•189 comments

An Update on Heroku

https://www.heroku.com/blog/an-update-on-heroku/
445•lstoll•23h ago•293 comments

Dark Alley Mathematics

https://blog.szczepan.org/blog/three-points/
99•quibono•4d ago•26 comments

PC Floppy Copy Protection: Vault Prolok

https://martypc.blogspot.com/2024/09/pc-floppy-copy-protection-vault-prolok.html
79•kmm•5d ago•12 comments

How to effectively write quality code with AI

https://heidenstedt.org/posts/2026/how-to-effectively-write-quality-code-with-ai/
285•i5heu•20h ago•238 comments

Female Asian Elephant Calf Born at the Smithsonian National Zoo

https://www.si.edu/newsdesk/releases/female-asian-elephant-calf-born-smithsonians-national-zoo-an...
48•gmays•12h ago•21 comments

Was Benoit Mandelbrot a hedgehog or a fox?

https://arxiv.org/abs/2602.01122
26•bikenaga•3d ago•15 comments

I spent 5 years in DevOps – Solutions engineering gave me what I was missing

https://infisical.com/blog/devops-to-solutions-engineering
162•vmatsiiako•22h ago•73 comments

I now assume that all ads on Apple news are scams

https://kirkville.com/i-now-assume-that-all-ads-on-apple-news-are-scams/
1098•cdrnsf•1d ago•479 comments

Introducing the Developer Knowledge API and MCP Server

https://developers.googleblog.com/introducing-the-developer-knowledge-api-and-mcp-server/
70•gfortaine•15h ago•29 comments