Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

NoBuild in Kotlin#106

Open
rtc11 wants to merge 1 commit intotsoding:main from
rtc11:patch-1
Open

NoBuild in Kotlin #106
rtc11 wants to merge 1 commit intotsoding:main from
rtc11:patch-1

Conversation

@rtc11
Copy link

@rtc11 rtc11 commented Aug 21, 2025

I got inspired by your nob.h and decided to make one for Kotlin.

It backups the last working version and restores it when necessary.
Im not packaging a jar or compiling a native executable, only compiling the class files, this makes the whole build time a lot faster.
In stead of using the compiler directly it starts a Kotlin daemon and uses its client and API to only compile changes in the bytecode. Having a live compiler environment makes subsequent builds way faster.
A simple "Hello world" now compiles in 70ms.

I got inspired by your nob.h and decided to make one for Kotlin. It backups the last working version and restores it when necessary. Im not packaging a jar or compiling a native executable, only compiling the class files, this makes the whole build time a lot faster. It also uses a Kotlin daemon for having a live compiler environment for faster subsequent builds.
A simple "Hello world" now compiles in 70ms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /