Skip to content

Commit

Permalink
Revving JNI Bind to Version 1.0.0, switching from "alpha" to "beta".
Browse files Browse the repository at this point in the history
JNI Bind has been in production code at Google for a couple years now, and its API is largely settled. This seems a reasonable point to finally make a "beta" cut where devs can rely on a stable API.

In the future, JNI Bind will support C++20, enabling non-clang compilers. This will require a new syntax, but I aim to maintain cross compatability and backwards compatability. After this, I am going to repurpose the type system as a DSL generator, and will re-apply it to protobuffers.

Finally, this project began right before COVID, and much of it was written during lockdown. Thank you to the countless people who helped me bring this to the open source community, it has been a deeply challenging project, but ultimately I am very excited with the final product and use it daily. I hope you find it valuable, and would greatly appreciate any support you can offer with a GitHub ⭐️.

Good luck in your JNI Binding!

PiperOrigin-RevId: 611830727
  • Loading branch information
jwhpryor authored and copybara-github committed Mar 11, 2024
1 parent 1ad3008 commit 3dd1b95
Show file tree
Hide file tree
Showing 4 changed files with 1,437 additions and 326 deletions.
3 changes: 2 additions & 1 deletion BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,9 @@ genrule(
genrule(
name = "gen_jni_bind_release_for_testing",
outs = ["jni_bind_release_for_testing.h"],
cmd = "./$(location build_jni_bind_release.sh) $(location jni_bind_release_input) jni_wrapper $(locations :jni_bind_decorative_text)>$@",
cmd = './$(location build_jni_bind_release.sh) $(location jni_bind_release_input) jni_wrapper $(locations :jni_bind_decorative_text) | sed "s/__JNI_BIND_VERSION__/`cat $(locations JNI_BIND_VERSION.inc)`/" >$@',
tools = [
":JNI_BIND_VERSION.inc",
":build_jni_bind_release.sh",
":headers_for_export",
":jni_bind_decorative_text",
Expand Down
1 change: 1 addition & 0 deletions JNI_BIND_VERSION.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.0.0
Loading

0 comments on commit 3dd1b95

Please sign in to comment.