miniblog.
← Back to all posts
Nov 3, 2016 at 14:18
Emacs as the init process:
https://www.informatimago.com/linux/emacs-on-user-mode-linux.html
(now that Emacs has an FFI, you could implement the missing syscalls!)
Emacs standing alone on a Linux Kernel
Nano How-To explaining how to setup a root file system with only emacs.
Wilfred Hughes
Related Posts
Jun 7, 2014 at 18:45
I've seen Emacs being used as an init process, but this is something else:
https://wiki.squeak.org/squeak/1762
Squeak Smalltalk as an OS!
SqueakNOS
wiki.squeak.org/squeak/1762
Wilfred Hughes
Shared words: Emacs, init, process Score: 89.6
Jan 31, 2024 at 06:42
@skybert
@emacs.ch Difftastic has very little unsafe, just the FFI to tree-sitter libraries. That said, I've actually seen safe Rust segfault in the past!
Segfault in safe Rust when compiling with optimisations · Issue #30081 · rust-lang/rust
#![feature(box_syntax, box_patterns)] use std::num::Wrapping; #[derive(Debug, Clone)] pub enum Instruction { Increment { amount: Wrapping<i8>, }, Loop(Vec<Box<Instruction>>), } /// Defines a method...
Wilfred Hughes
Shared words: Emacs, FFI Score: 86.4
Feb 11, 2017 at 00:09
Found a reliable way of segfaulting Emacs, without using threads/FFI!
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25684
(last time my Emacs segfaulted was bad memory)
#25684 - 25.1; (downcase -1) segfaults Emacs on GNU/Linux - GNU bug report logs
debbugs.gnu.org/cgi/bugreport.cgi?bug=25684
Wilfred Hughes
Shared words: Emacs, FFI Score: 86.4