Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 17 submissions in the queue.
posted by n1 on Friday January 13 2017, @07:34PM   Printer-friendly
from the to-vi-or-not-to-vi dept.

Submitted via IRC for TheMightyBuzzard

I am delighted to announce Remacs, a project to port Emacs to Rust!

Emacs, at its heart, is a lisp interpreter written in C. In Remacs, we're replacing this C code with Rust, and all the elisp you know and love will just work.

If you've ever fancied contributing to core Emacs, this is a great opportunity to learn the internals. There's tons of low hanging fruit, we have a list of good first bugs and even a walkthrough of writing your first elisp function using Rust.

Rust is perfect for this because we can port incrementally. If you want to replace the entire regular expression engine, you can do that. If you just want to replace this function here, you can do that and the C code won't even notice. You will have a full-blown Emacs every step of the way.

[...] Remacs is based on Emacs 25.2. We've got enough type definitions that you can write interesting built-in functions, but the project is still at a very early stage. Using these, we've got a few built-in elisp functions written entirely in Rust: some arithmetic, some type checks, and even some basic list functionality.

I'll stick to MrPlow for now, thanks. He's Rust enough for me until his code stops looking like a noob wrote it.

Source: http://www.wilfred.me.uk/blog/2017/01/11/announcing-remacs-porting-emacs-to-rust/


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2, Troll) by Nerdfest on Friday January 13 2017, @09:26PM

    by Nerdfest (80) on Friday January 13 2017, @09:26PM (#453466)

    Yeah, this would not be at the top of the list of things I'd do in Rust. I'd pick stuff like openSSH and other things where buffer overflows and memory allocation mistakes create security exploits. Hell, I'd do an operating system before Emacs, or is that a contradiction?

    Starting Score:    1  point
    Moderation   0  
       Troll=1, Insightful=1, Total=2
    Extra 'Troll' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 2) by Aiwendil on Friday January 13 2017, @10:28PM

    by Aiwendil (531) on Friday January 13 2017, @10:28PM (#453522) Journal

    Hell, I'd do an operating system before Emacs, or is that a contradiction?

    They already have redox (os written in rust), so it seems they agree on OS first ;)

  • (Score: 2) by JoeMerchant on Friday January 13 2017, @10:29PM

    by JoeMerchant (3937) on Friday January 13 2017, @10:29PM (#453526)

    I'd do an operating system before Emacs, or is that a contradiction?

    Yes.

    --
    🌻🌻 [google.com]
    • (Score: 2) by Nerdfest on Saturday January 14 2017, @01:05AM

      by Nerdfest (80) on Saturday January 14 2017, @01:05AM (#453650)

      Thanks. This is why I come here. Well, that and the abuse.

  • (Score: 1, Insightful) by Anonymous Coward on Saturday January 14 2017, @01:18AM

    by Anonymous Coward on Saturday January 14 2017, @01:18AM (#453655)

    Rust hipsters are the last people who should be writing security software. You're gonna end up with plenty of different bugs in the original code that they'll imtroduce.