Mistral Large 4 previews before its open weights, Polars 2.0 streams by default, and Gleam drops Erlang source

1 month ago

Mistral Large 4 opens as a public preview with open weights promised by the end of October, and it tops a security test that closed models refuse. Also from Tuesday's Hacker News front page: Polars 2.0 makes the streaming engine the default, Gleam 1.19 compiles to Erlang abstract forms, and David Bushell moves from Deno back to Node. Introducing Mistral Large 4, by Mistral https://mistral.ai/news/mistral-large-4/\ Discussion: https://news.ycombinator.com/item?id=49977979 jakozaur on where it sits against GLM-5.3: https://news.ycombinator.com/item?id=49978258 chriddyp's Plotly data analysis test: https://news.ycombinator.com/item?id=49983933 smartbit's Artificial Analysis table: https://news.ycombinator.com/item?id=49979208 AntonJidkov on offensive use: https://news.ycombinator.com/item?id=49981763 Release of Polars 2.0, by Ritchie Vink https://pola.rs/posts/release-polars-2/ Discussion: https://news.ycombinator.com/item?id=49977177 Gleam doesn't compile to Erlang source anymore (Gleam v1.19.0), by Louis Pilfold https://gleam.run/news/gleam-doesnt-compile-to-erlang-source-anymore/ Discussion: https://news.ycombinator.com/item?id=49975619 lpil on debugger support: https://news.ycombinator.com/item?id=49978293 Friendship ended with Deno, now Node is my best friend, by David Bushell https://dbushell.com/2026/10/03/deno-to-node/ Discussion: https://news.ycombinator.com/item?id=49971719 AgentME on what Deno still bundles: https://news.ycombinator.com/item?id=49974203

Ask about this presentation

Chapters

  1. 0:00Mistral Large 4
  2. 0:34The test closed models refuse
  3. 1:16Outside checks
  4. 1:54Polars 2.0
  5. 2:29Gleam 1.19
  6. 3:04Deno to Node
Show transcript
  1. On Tuesday's HN front page, Mistral opened a public preview of Mistral Large 4, its biggest model yet. It has one trillion parameters, 49 billion of them active at a time, and it reads images as well as text. The preview API is open now, at about a dollar forty per million input tokens and just over four dollars per million output. The weights follow by the end of October. Mistral trained it from scratch on 3,800 Nvidia Grace Blackwell GPUs in its own European datacenters.

    Slide text

    Mistral Large 4 previews before its open weights, Polars 2.0 streams by default, and Gleam drops Erlang source

    1T parameters
    49B active
    Preview API
    open weights by end of October
    $1.36 · $4.18
    per million tokens in · out
  2. Mistral leans hardest on security work. One test in the Artificial Analysis Cyber Index asks a model to reproduce a real vulnerability in open-source software, then patch it, and Mistral Large 4 posts the best result of any model. Claude Opus 5.5 and GPT-6 Astra score near zero on it, because they refuse the task. Mistral argues that defenders often have to prove a flaw is real before they fix it, and open weights let them do that under their own policies. In the thread, AntonJidkov asked whether that also helps attackers. Mistral reports that on known malicious cyber prompts, it refuses more often than the other open models it tested.

    Slide text

    Closed models refuse the security test Mistral Large 4 tops

    Mistral Large 4
    Reproduces a real vulnerability, then patches it
    Claude Opus 5.5, GPT-6 Astra
    Near zero: they refuse the task
  3. Commenters ran their own checks. On the Artificial Analysis index, an independent combined score, Mistral Large 4 lands well above the median model, and smartbit posted the open-weight table, where it sits behind GLM-5.3 and Xiaomi's MiMo. jakozaur called it behind the frontier, but not by much. chriddyp, who works at Plotly, ran it through Plotly's data analysis benchmark. It answered far more questions correctly than Mistral Medium 3.5 from April, at a tenth of the price. For companies in the EU, several commenters said, the draw is a model trained and served in Europe.

    Slide text

    Outside tests put Mistral Large 4 a step behind the best open models

    “behind on the broader Pareto frontier, but not by much”

    — jakozaur

    “10x cheaper than Mistral Medium 3.5 from April and goes from 58% to 74% correct”

    — chriddyp, who works at Plotly
  4. Polars 2.0 is out, and its breaking change sits in collect. Calling collect on a lazy frame now runs the streaming engine by default, which Polars says cuts memory use on most queries. The cost is row order. Joins, group bys and unpivots no longer promise it, so code that depends on order has to set maintain_order to true. Spilling to disk is on by default too. Sorts and window functions start writing to disk at about 80 percent of RAM, with a 64 gigabyte budget, and joins and group bys get the same treatment in a later release.

    Slide text

    Polars 2.0 runs every collect() on the streaming engine

    lf.collect()   # streaming; join and group_by order not kept
    lf.group_by("user", maintain_order=True)
    Spills to disk at ~80% of RAM 64 GB disk budget
  5. Gleam 1.19 no longer writes Erlang source code. Giacomo Cavalieri rewrote the Erlang code generator to emit Erlang abstract forms, the syntax tree the Erlang compiler normally builds by parsing, so Gleam skips the front half of that compiler. Elixir compiles the same way. Builds on the BEAM got much faster, and crash reports and stack traces now carry line numbers from the Gleam source, where before they could point only at the nearest function. In the thread, Louis Pilfold, who wrote the post, said hooking up an Erlang debugger would take only two flags passed to the compiler.

    Slide text

    Gleam 1.19 hands the Erlang compiler a syntax tree instead of source

    Gleam → Erlang source → parser → compiler
    Gleam → Erlang abstract forms → compiler
    Faster BEAM builds Stack traces point at Gleam lines
  6. David Bushell used Deno for years, and has gone back to Node. Porting his static site generator to Node 26 took two changes: Deno's file system API became Node's built-in one, and Deno.serve became Hono's Node adapter. His builds ran 15 percent faster. One wall remains. Node runs TypeScript directly, but refuses to strip types from files inside node modules, so a TypeScript package still needs a build step. In the thread, AgentME said Deno still earns its place by shipping a test runner, linter and type checker that a Node project has to assemble itself.

    Slide text

    David Bushell moved his site generator from Deno to Node 26 with two swaps

    Deno file system API
    → node:fs
    Deno.serve
    → Hono’s Node adapter
    Build time
    15% faster

What happened in AI today, in your inbox

One short email each evening. Read it and you’re caught up.

Built with ❤️ in New York