Generating Java bytecode Part 1

Published: 30 December 2023
on channel: DcraftBg
142
6

In todays video, we're starting to work on a new language that targets Java bytecode called hog. We're looking back into the Oracle docs for Java and generating some bytecode in Rust. This is part 1 of a few, with the purpose being, generating a working "Hello World" for java in our own language.

00:00:00 - Intro
00:00:18 - Changes since last time
00:01:06 - Creating a new folder
00:02:10 - Docs
00:04:40 - Hello World file
00:07:50 - Class file format
00:16:00 - IO API Design
00:19:58 - What are you?
00:23:26 - Const Pool
00:25:30 - Why we need this API
00:26:25 - Refactoring Code
00:27:00 - This Class and Super Class
00:31:00 - Debugging
00:37:10 - Disassembly
00:45:40 - Type Descriptors
00:47:30 - Main method
00:48:45 - Access Flags
00:52:30 - Method Pool
01:00:00 - JavaBody structure
01:17:13 - Conclusion

#coding #java #rust


On this page of the site you can watch the video online Generating Java bytecode Part 1 with a duration of hours minute second in good quality, which was uploaded by the user DcraftBg 30 December 2023, share the link with friends and acquaintances, this video has already been watched 142 times on youtube and it was liked by 6 viewers. Enjoy your viewing!