Skip to content
0:00 / 0:00

#redbean#cosmopolitanlibc#justinetunney

Speakeasy JS - Redbean: Actually Portable Executable Web Server (Justine Tunney)

Feross

8.7K subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 on Hacker News.
  • Presented by Justine Tunney, creator of Redbean

Advanced. Deep dive for people who know the field.

17K views5 years ago1 recommendation

Systems programmingWeb developmentOperating systemsNetworking and protocolsSQLite

Justine Tunney presents Redbean, a single-file web server that runs on multiple operating systems using Cosmopolitan Libc.

Psst... You've found it. This is the JavaScript meetup for mad science, hacking, and experiments. Hang out virtually on Friday at 4pm Pacific Time each week. speakeasyjs.com​

Why it's here

1 person recommends this

What people say. Recommended as a fascinating look at building a highly portable, high-performance web server that embeds Lua and SQLite.

TimTheTinkeron Hacker News • Recommends

On “Unix didn't use to support '#!', a brief history”

…, and you can modify files inside it using any zip utility... fascinating stuff. On Linux, it bootstraps execution initially as a shell script, but the shell script writes the "ELF" file header and executes it (I'm probably doing a horrible job of explaining though). link If you're interested in learning more, this talk from 2021 is fascinating: link to this video . It covers Redbean, a portable, run-anywhere web server built with the APE toolchain; since then Redbean 2 has been released, which adds a lot more features. Here's a link to Redbean: link…

jarton Hacker News • Mentions

On ““Great resignation” wave coming for companies”

Data control and privacy are two of the most important things. I wrote a popular open source project where I've sought to improve that. Would you be interested in taking a quick look and offering candid feedback? See link and discussion thread link and interview link to this video and polyglot executable format link Someone like you could help me know if I'm doing it in the best possible way, since studying the influence of groups like cygnus was what helped me learn the hacking stunts that allowed me to pull it off in the first place.

jarton Hacker News • Mentions

On “Show HN: Micro HTTP server in 22 lines of C”

Messages per second, latency, footprint, name it. Particularly if it's gzip encoded. See link to this video I'm working on giving redbean the fastest https serving too. Recently I've been helping to make the strongest elliptic curves go 3x faster.

jarton Hacker News • Mentions

On “Developers fix multitude of vulnerabilities in Apache HTTP Server”

redbean is a pure fork() web server and according to ab it is much faster than nginx. I feel like we've come full circle with history. Apache started off with fork() since it offers the strongest security versus other i/o models. The problem is that code bloat makes fork() go slower so as Apache ballooned over the years there was this race to the bottom in terms of i/o models, caused by tragedy of the commons. link to this video

jarton Hacker News • Mentions

On “Show HN: Lisp with GC in 436 Bytes”

Author here. Thanks! The other projects I'm known for here on HN are: link Redbean (2011) is a single file distributable web server. Here's a video of me giving a talk about it link to this video link αcτµαlly pδrταblε εxεcµταblε (2020) lets you build c/c++/fortran/etc. code so that it runs on seven operating systems link Operation Rosehub (2017) where I helped save a lot of people from an Apache security bug similar to Log4j issue today I like doing these projects because they all fit together so well into a consistent story. For example, a lot of these past projects were what helped to make SectorLISP better. Thanks to APE you now have a 20kb quickly deployable and embeddable LISP interpreter.…

adolphon Hacker News • Mentions

On “LiteSync – Easy synchronization of SQLite databases”

Like running redbean on someone else's computer? redbean embeds Lua, SQLite, and MbedTLS into a fork() driven application server that benchmarks at 1.1 million qps on a personal computer. link link to this video