Jens · @schegge42
36 followers · 415 posts · Server nrw.social

Von Buddies und Agenten – dynamische Codegenerierung in Java

Manchmal reichen die üblichen Möglichkeiten der Programmiersprache nicht aus und die exotischeren Ansätze müssen zum Einsatz kommen. Angefangen bei ClassLoader, Reflections, ServiceLoader, über AnnotationProcessor und JavaAgents

schegge.de/2023/08/von-buddies

#Bibliotheken #java #annotation #AnnotationProcessor #bytebuddy #bytecode #reflections #serviceloader

Last updated 1 year ago

LisPi · @lispi314
708 followers · 15348 posts · Server mastodon.top

@astrid has some unfortunate limitations due to tie-in with semantics.

Also which GC? OpenJVM has like 3 of them.

#jvm #bytecode #java

Last updated 1 year ago

LisPi · @lispi314
700 followers · 14970 posts · Server mastodon.top

@ike That question was already answered >20 years ago with and other VMs.

It is likewise why so many languages are hopping onto the target support idea.

Despite the legacy "web" part of its name, it is a portable bytecode VM as well.

#java #bytecode #wasm

Last updated 1 year ago

Jay Cuthrell · @jay
108 followers · 505 posts · Server cuthrell.com
Arda Kılıçdağı · @arda
153 followers · 557 posts · Server micro.arda.pw

One Bad Byte Broke This Game: Commodore 64's "Livingstone, I Presume?" youtu.be/c4OQPojiEOo

#commodore #c64 #commodore64 #romhacking #bytecode

Last updated 1 year ago

James Harton · @jmshrtn
60 followers · 161 posts · Server social.coop

Just came across this post on r/ProgrammingLanguages and it blew my mind. I had never even considered how my bytecode design might impact cache locality.
stefan-marr.de/2023/06/squeezi

#interpreters #bytecode #cache #proglangdesign

Last updated 1 year ago

Peponi · @pep0ni
63 followers · 700 posts · Server swiss-chaos.social

> a new Microsoft effort to take the experience to low-resource microcontroller-based devices. It’s compiled to a custom VM which can run in such constrained environments. (A bit like Go’s .)

microsoft.github.io/devicescri

#typescript #bytecode #tinygo #compiler #golang #microcontroller

Last updated 1 year ago

Rupert Reynolds · @RupertReynolds
20 followers · 511 posts · Server hachyderm.io

Instruction code ideas, please, for a demo bytecode machine. Just for fun--I get bored!

So far it has the usual print, push, pop, inc, dec, jz, jnz and friends, plus file open, read and write.

Arbitrary precision arithmetic in dec and bin is on the way (no, I won't be adding Trachtenberg optimisations!)

people please don't suggest UPT (Update Tree). I failed the 'explain UPT' challenge :-)

#bytecode #ibm #mainframe

Last updated 1 year ago

Java Advent · @javaadvent
27 followers · 22 posts · Server fosstodon.org

Today on Java Advent: Write "Hello World" yourself in JVM Bytecode.

So, check out James Hamilton's article "JVM Hello World" for all the sweet details and examples.

And here's the link: javaadvent.com/2022/12/jvm-hel




#javaadvent22 #jvm #bytecode #helloworld

Last updated 2 years ago

Simon Gray · @simongray
166 followers · 221 posts · Server indieweb.social
Paul King · @paulk
31 followers · 5 posts · Server foojay.social

I've seen a lot of "Forget , use for !" (), and I am deeply amused by this generation's reinvention of and the "write once, run anywhere" paradigm. I expect it to go about as well as the last time (), i.e. stacking layers of abstractions, until people complain it is too slow and complex, while discovering a myriad of security problems (new code, old problems), before it collapses and we get the NextBigThing™ that is sooo *obviously* better.

#docker #wasi #Containerization #webassembly #bytecode #jvm

Last updated 2 years ago

Andrei N. Ciobanu 🇷🇴 · @nomemory
239 followers · 815 posts · Server fosstodon.org

The first picture represents the code for implementing a for the LC3 architecture. It's less than 125 LoC.

The second picture is bytecode that works on the Virtual Machine and cam sum two numbers read from the keyboard.

C is beautifully simple. And the code is a little too cryptic.

The explanations can be found here:

andreinc.net/2021/12/01/writin

#c #virtualmachine #prpgramming #cprogramming #bytecode #compilers #lowlevel

Last updated 2 years ago

IT News · @itnewsbot
1661 followers · 238595 posts · Server schleuss.online

WheatSystem is a Homebrew 8-Bit OS - [Esperantanaso] has long been involved in producing homebrew 8-bit computers. His ... - hackaday.com/2022/10/14/wheats

#os #8bit #bytecode #softwarehacks #operatingsystem #homebrewcomputer #microcontrollers

Last updated 2 years ago

Tech News Worldwide · @TechNews
11255 followers · 97977 posts · Server aspiechattr.me
Soh Kam Yung · @sohkamyung
556 followers · 11287 posts · Server mstdn.io

Very interesting. The Bytecode Alliance might help make web scripting more secure by sandboxing web modules, restricting permissions and controlling data access and copying. Article does note the proposed architecture won't prevent Spectre class attacks.

hacks.mozilla.org/2019/11/anno

#bytecode #webassembly #web #mozilla #intel #fastly #redhat

Last updated 5 years ago