#JavaLang

2025-09-03
Why rewriting Emacs is hard,” by @kana

Yes it is, I can tell you from experience. Of course, I was never under any illusion that it would be easy.

@kana , a.k.a. “Gudzpoz,” wrote a blog post which was shared on Lobste.rs, and they kindly mention my own Emacs clone Schemacs, though they refer to the old name of it “Gypsum” because they are citing my EmacsConf 2024 presentation done before the name changed.

It is a pretty good post going over some of the odd details about how Emacs edits text, e.g. the character range is from 0x0 to 0x3FFFFFF rather than the Unicode standard range from 0x0 to 0x10FFFF, issues with using a gap buffer as opposed to a “rope” data structure, attaching metadata (text properties) to strings to render different colors and faces, and issues with Emacs’s own unique flavor of regular expressions in which the \= symbol indicates matching on the point in the buffer. (I did not know about that last one!)

Apparently, they know these things because they are also working on their own clone of Emacs in Java for the JVM called Juicemacs (the name “Juice” upholding the theme of Java-based applications being named after drinks), and I deduce that their approach is to read through the Emacs C source code to ensure better compatibility. This is now the fourth modern Emacs+EmacsLisp clone that is still under active development that I know of, fascinating work!

My approach is to clone Emacs well enough to get it to pass regression tests, and I don’t read the C source code, I do black-box testing (because those tests become regression tests for my own source code).

Also, the goal with the Schemacs project is more to provide a Scheme-based Emacs that is backward-compatible with GNU Emacs. You use Schemacs because you want to program it in Scheme, not Emacs Lisp, but Emacs Lisp is there for you so you can still use your Emacs config. As a result, I will ignore a lot of these fussy details of the GNU Emacs implementation unless it is going to prevent regression tests from passing.

#tech #software #Emacs #GNUEmacs #Schemacs #EmacsLisp #Lisp #Java #Scheme #R7RS #SchemeLang #LispLang #JavaLang

Ben Cohenairspeedswift
2025-06-09

...and @ktoso takes you beyond the world of C interop with Explore Swift and Java interoperability

developer.apple.com/videos/pla

and too I suppose!

Matthias Schmidtmattication
2024-12-09

Endlich gibt es einen Metal Song 🤘

youtu.be/yup8gIXxWDU?si=hLuSgx

Todd A. Jacobs | Rubyisttodd_a_jacobs@ruby.social
2024-06-22

@postmodern Why is this worse than any other browser? Most of the listed vulnerabilities I skimmed weren't memory or pointer issues, so using #GoLang or #RustLang wouldn't have prevented most of them. Quite a few are also #Android specific, which is more of a #JavaLang and ecosystem problem.

Don't get me wrong. I'm sorry to see Mozilla embrace or support advertising vectors. I'm just not sure I see a *current* security connection absent API changes.

Júlio Gardonajcbritobr
2024-03-10

@kicolobo @carlosenog @faermanj Se tudo correr bem essas value classes irão aterrisar na em uns 2 anos.

2023-11-14

If you're coming from Java, here's a mapping between primitives and Rust's types:

byte -> i8
short -> i16
int -> i32
long -> i64
float -> f32
double -> f64
boolean -> bool
char -> [no 1:1 mapping, Rust's char is a UTF-32, whereas Java's is a UTF-16]

#rust #rustlang #javalang #java

2023-07-11

Don't Share Java FileChannels | Piotr Kołaczkowski
pkolaczk.github.io/dont-share- #programming #java #javalang

2023-04-26

Java autoboxing performance - tavianator.com
tavianator.com/2015/autoboxing #java #javalang #programming

2023-03-30

Looks like I'm learning #python, as well as spending more time with #java, this year.

#pythonlang #javalang

2023-02-28

Ai based discord riddle bot. Using OpenAi's GPT3-Davinci.
codeberg.org/qbinary/Riddlex #java #JavaLang #programming

2023-02-08

[VDT19] Concurrent Garbage Collectors: ZGC & Shenandoah by Simone Bordet
youtube.com/watch?v=WU_mqNBEac #programming #java #JavaLang

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst