06:00 UTC Charta Aetatis Cyberpunk

Console Newsletter Pro Sign in Early access Register
Aa · Display
Themes
Type size
Density
Hacker Culture · Lobsters · · 40:10 runtime

Would you believe it's jank?

Comments

In the wiki GLM
Transcript 6787 words · auto-generated captions

Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.

I'm so excited to see you all again.

Today I'm speaking after Rich Hickey and Jared Conn, two personal heroes of mine in the same day. And uh man, it's made me think how grateful I am to be here to be a part of this community and to have the interest from each of you in the software that I'm writing. 10 years ago, a younger version of Jay started on programming language design. And I wonder what he'd say if I asked him somehow, would you believe that you'd end up here today? And this question led me to the

theme of today's talk. Would you believe it's Jenk? My name is Jay Wilkerson and

I'm the creator of Jenk. Jenk is an exciting new closure dialect and I want to use this time to talk about why I think Jenk is special, why I

think Jenk is a great addition to the closure community and why I think Jenk has the potential to bring in droves of new developers into the closure community from the native world. So, Jenk is a native closure dialect with a

hand-crafted compiler and unprecedented C++ interop. But what is a closure dialect anyway? Well, there are three official closure dialects. We have closure JVM, we have closure script, and we have closure CLR. And all of these run on quite different platforms, but they're all still closure. What makes them closure? Well,

I've had people tell me a closure dialect needs to have Java interrupt. No, closure CR doesn't have Java interrupt. I've had people say closure

needs to have this, needs to have this. What does a closure need to have? Does have does it need to have name spaces? I suppose so. Yeah. What about dedicated var objects? Nope. That rules out closure script. Ratios, refs, agents, nope, that rules out closure script. So closure doesn't yet have a specification that defines what it means to be a closure dialect. But we need a way to talk about dialects and we need a common baseline of functionality. Closure as a term has grown into a whole ecosystem

with closure JVM being the flagship dialect. To me a closure dialect conforms to common closure semantics. If only we could define those. Well,

like anything in life is improved with some pi. So here the top half of this

pie is the the common closure semantics. We have common syntax, common core object behaviors and common core functions. And then the bottom half of the pi well that can change drastically from dialect to dialect. We have how we interact with the host, the compilation model as well as the underlying type system. Now, Jenk is a closure dialect built on C++. But why of all things C++?

Why of all things C++? Well, C++ is

still the deacto language for game development, native desktop applications, digital audio workstations, high frequency trading, browsers, compilers, and it underpins the technology used by data science as well as autonomous vehicles. And we want

to work with these libraries. We really want to work with these libraries. We want to break into these industries. This is a good thing for closure to break into these industries and existing solutions that try to do this. They use the foreign function interface. They push data through the Cabi and that's great for C libraries, but for C++ libraries, the CABI simply isn't rich enough. C++ has this powerful

feature set of constructors and destructors and function overloading and operator overloading and templates and virtual dispatch exceptions and compile time evaluation and then some.

And the CPI doesn't support any of this. Now in modern C++ we write our libraries and we we write our applications around typer rich APIs. So it's not just a string. There's an aggregate type. It's a username. It's not just a float. It's meters per second. And when you try to force these type APIs, and they exist whether or not we write them in closure, they exist. When you try to force them through the CABI, it has a cost in both type safety as well as runtime performance due to the type eraser. And so this is a key selling point for Jenk. Let's use these C++ libraries. Let's bring closure to the native world by gaining access to all these C++ libraries in a way where we don't have to go through the CABI.

So it was around this point in making the slides, oh I thought I was incredibly clever that I could just use the slices of the pie as section headers. Works out great. So let's talk

about host interopen. If you want to reach into C++, you can just use this little special CPP namespace. It's kind of like the JS namespace in closure script. And so here we can we can just grab a standard string which comes straight out of the C++ standard library and we can construct it. We give it a argument the uh cring literal. Jen's going to resolve the correct constructor overload because there are over a dozen of them uh for a standard string. And there you go. S is a stack allocated unboxed standard string. Now if you want to call a member function on it, just use the same exact syntax as you would in normal closure JVM. We just use dot size. S and L here are both unboxed native types. No GC involved. Now at the at the closing PN a

special thing happens. C++ has guarantees that at the end of the scope destructors get called in a particular order to release resources. And we use this all over the place. We use this for strings to release the internal resources. We use this for locks to ensure that uh a lock only uh locks its resource for a particular uh scope. And Jenk carries this guarantee over. And so at the closing pen here, S will go out of scope. Its destructor will run. The CABI cannot offer you this. Now, as a more practical example of interoping with C++ here is

uh some Jen code that's going to bring in a header only C++ library called GLM.

It's an OpenGL math library. So we have an NS uh macro here with some uh with an include form and the include here works exactly as it would in C plus uh C and C++ except these are JIT compiled. These headers are JIT compiled into the Jenk runtime and then everything within them becomes available seamlessly just like you had required some Java library. Now you could also use refer global which follows the same semantics that closure script has. So you don't need to use the CPP namespace in order to uh access those access those symbols. Now inside of our main function, we're going to do some math here. Don't worry about the math. Doesn't matter. What matters is every call to GLM perspective, GLM translate, GLM scale, and so on is a template instantiation, a C++ template instantiation where we're not just matching an overload. we need to actually go uh fill in uh the a for that

particular function with clang and verify that all of that type checks and jenk does all of this uh during semantic analysis exactly the way that C++ does. If any of this fails uh to type check if any of this fails any of these template instantiations fail that becomes a compiler error. This is handled at compile time not at runtime. Now, view model and camera uh I'm sorry, view model and uh yeah, projection here are

all 4x4 matrices. They're unboxed

native native values. And if you want to multiply them together to get our model view projection matrix, which is just something that we do when we're when we're doing rendering stuff, uh you need to use C++'s operator overloading. And GLM is is designed so that if you want to multiply matrices together, well, you just use the the operator overloading. And in Jenk, you can reach into that. No problemmo. All you do is you grab the uh

multiply operator from the CPP namespace. This is different from the multiply operator that you get from Closure Core because that one is focused on doing polymorphic uh multiplication for for closure values. The C++ one is just the C++ one. Now we could also do the same thing if you wanted to use the insertion operator write that 4x4 matrix out to uh the terminal and that actually works nicely with a thread first macro. So this is I mean this is a C++ program right it's also a jank program in the same way that you could write some closure code that just uses Java interop and at that point it's basically just Java with some sugar uh for the syntax.

But what I'm trying to show here is that Jenk channels in my in my opinion the

closure interrupt magic when I first used Closure. Oh, I was so impressed. I was so impressed that I could just bring in these Java libraries and access their values and call their methods and and I didn't there was no ceremony about it. I didn't need to introduce any bridges. I didn't need to register these types. I could just do it. And in Jenk we can do

that from closure but into C++. Now Java

well is built on a virtual machine compiles to bite code. The whole thing is quite dynamic. It's almost like it's designed for this. But C++

it's definitely not designed for this right there. There's no notion of JIT compilation for C++. It's all IoT compiled. C++ has its own AI that nobody dares to speak. But Jenk allows us to do this, allows us

to channel this closure magic. And in my opinion, Jenk wouldn't be a true closure

if we couldn't achieve this. But interop is only ever part of the closure story, right? So I'm showing a lot of C++ interop here. That doesn't mean that when you write Jenk, you have to be writing all this C++ stuff. Jenk is still a whole closure interop. You still have all your data structures and sequences and multimethods and protocols, everything like that. It's all still there. I'm only showing you the C++ stuff because that's what's different, right? You guys already know the rest of the closure stuff. Now, for the second slice of the pie here, the compilation model, there's nothing in the common closure semantics that says that closure needs to be compiled. Could just be interpreted, but Jenk is compiled. It can either be just in time compiled or it can be ahead of time compiled.

And that plays into ripple friendliness.

So now, not only can we do all of this C++ magic from the interop from closure,

you can do it from the comfort of your own text editor because Jenk ships with an inreppel server written in Jenk that is going to work well by say by saying is going to I mean today works uh with whatever you guys use. I use it with Vim and Conjure. Uh don't shoot me. It works, right? Uh there are people who use Emacs and whatever you guys use uh it works and that means that including those C and C++ headers just in time instantiating templates doing all of the crazy operator overloading implicit conversions and all the other C++ stuff still works beautifully from your text editor. Now Jen compiles since we're

still talking about compilation model. Jen compiles to C++ and that that throws some people off. They say well you're you're you're based on LVM. Why wouldn't you compile to LVMIR? That's kind of the uh the language of Lovm. Well, going from C++

semantics, which Jenk has, to Lovir

requires a C++ compiler. So, we did this

and we we we had to basically reimplement big chunks of Clang inside of Jenk in order to lower uh Jen C++ semantics to LVMR. It didn't make sense. It didn't make sense. So, we stripped all that out. We just generate C++. We let the C++ compilers deal with the uh the details of lowering to LVMIR machine language etc. But we analyze everything along the way to make sure that the C++ we're generating is going to be valid. But generating C++ has some serious benefits. If you take an entire Jenk

project and all of its dependencies that you brought from Cloars or whatever and you AOT compile that down to C++ at that point you just have a C++ project. You can run that C++ project through any sort of build system you want. For example, you can run it through the zig build system for easy cross compilation. You can run it through mcripton for web assembly or you can just run it through clang for a native executable static library or shared library. So for the underlying type system, would you believe that Jenk actually uses the C++ type system that we have a closure that uses the C++ type system? Well, it absolutely does. It absolutely does. So Jenk [snorts] analyzes every expression statically. We don't blindly generate C++ and let Clang handle the errors.

Jenk hooks into the clang's a alongside its own a. So as it's semantically analyzing the code, we're also using clang's types. We're asking clang, can you do this? Can you do this? And we make sure that all that checks out during compilation time. Now C++ doesn't

have runtime reflection, but we we often rely on this enclosure. So if you call a method on some object and the compiler can't figure that out in closure JVM you might just show a warning saying ah we're going to figure this out at runtime and you do some reflection. Well C++ doesn't have that. We can't do that. So if you're doing any sort of interop with accessing a member calling a member function that needs to be resolved statically and that's because C++ is statically typed and it doesn't have any sort of runtime reflection. Now Jenk compiles to C++. [snorts] Jenk uses the C++ type system.

C++ is statically typed. So Jenk is what? Typed. Well, it depends. The GLM

example I showed above where we're just doing C++ interop, that's statically typed. There there's there's nothing about that that's dynamically typed. But the more closure semantics that you bring in, the more dynamically typed your code will be. And so we what we end up with is a gradient where you have

this sort of full spectrum dynamism. You get to choose what I'm calling static jank. Everything is statically typed or

dynamic jenk which is just straight up closure or somewhere in the middle. And to me I think about this perhaps in a surprising way. I don't really think of jenk as as a language on its own. [snorts] Jenk is actually just glue for closure and C++. That's it.

Jenk doesn't add anything on top of that aside from aside from just glue to connect these two things together. So if you want your code to be super closury, great. Then it'll be, you know, dynamically typed. It'll use more uh GC. It'll run generally more slower. If you want it to be more C++, great. You get to use that as well. Now going forward

I want to lean more into the host. Closure J J J J J J J J J J J J J J J J J J J J JVM doesn't quite do this, but I want to lean more into the host so that if you wanted to be more static, you can. Now, there are benefits to this. There are drawbacks to this as as Rich was saying in his talk. You could build systems that are more calcified, but they would end up being more brittle. Now, if performance is a serious concern, and for a lot of you, it may not be, but I'm trying to bring in a lot of C++ developers into the closure community, right? And I want to um I

want to play to the strengths of C++ and I want to appeal to uh their desires and

to be honest, my own desires. Now, if you could define C++ types and

C++ functions within the jank code and then the bodies of those C++ functions can actually just call right into the normal closure functions just like the bodies of our closure functions can call into uh our host functions and you have this birectional uh symbiotic relationship. That would be beautiful to me. That's the dream. That's the language uh that I want. It's the dream that would allow me to, and we see this after after I watched Jericho's talk today. Uh, it's a dream that would allow me to make a game engine where the lowest level systems in the game engine that I need to be the most efficient could be statically typed. They could take advantage of the hardware by using data oriented design, arena allocators. I don't need to worry about uh I don't need to worry about dynamic typing. I don't need to worry about GC pressure.

But then gradually as we move into other

parts of the codebase even within the same files things become more flexible they become uh more ripple friendly faster at iterate but at the cost more GC pressure right runs runs more slowly now of course anyone in Jenk gets to choose where they want to be on this on this spectrum and I think that's the beauty so by Jenk using the C++ type system it means that we need to be able to represent any any C++ ++ type which actually isn't an easy ask. Uh C++ has a rich

type system and as a very simple example

uh and I had a lot more examples originally and I I decided that I I wouldn't make you uh go through all of them. So I I I am just down to one slide here now. Uh here we have a standard map template instantiation where the key type is standard string and the value type is a pointer to int. In C++

we type these things out no problem. There's a quite a complex grammar for this. Uh historically there have been ambiguities in the grammar and so you had to put in spaces and uh it's a mess.

In C++ uh we do all that but in Jenk we

need to be able to represent these as well. And so I've added a C++ DSL to

Jenk that allows you to represent these types as well as values. So in this case we could represent this uh you you can enter this DSL whenever you want using a CPP reader macro. Uh but it's also you're entered uh into it automatically in some cases uh with special forms that require something in type position. So here we could have a instantiation of standard map where the key type is standard string and then in order to get a pointer to int we take int and we modify it and that's what this DSL allows us to do is it modifies types and so this adds a pointer you could add pointers add references add const volatile unsigned you name it and this

works for pointers to functions pointers to members and all the stuff that you would need to uh be able to represent if you wanted to work with an arbitrary C++ library and the cabi I cannot safely do this for you. If you're using the CABI through the JVM, can't safely do it. If you're using the CAI through Babasha, it can't safely do it. But Jenk can because Jenk is C++. Jenk is C++ with closure

semantics on top. Now, it was around

this point in making the slides I realized I have a lot more sections than I have slices of pie. So, we're just going to talk about built systems. And I guess that's going to go underneath everything. Um, now C and C++ have a build system problem. I'll admit it. This means that if you wanted to build an arbitrary C++ project, it could be quite difficult to do so locally. The project may use CMake, QMake, XMake, Automate, PMake, Basil, Mason, Scon, Build 2, Tup to name a few.

But would you believe that Jenk solves this problem?

Well, demo time. Uh, let's see. Oh, shoot. You know, I should have moved this over to the I I have to I have to drag this. Oh, man.

Let's see.

I need to drag a window to the other

display, but I'm not Oh, I'm not seeing it because it's There we go. I guys, I figured it out. Uh, we've we've done it. We've done it. Okay. So, I have here a um this tooling

is is uh Oh, that's not good. Let's get some color.

This tooling is based around line again. Um we'll we'll we'll port it to closure CLI uh when the next version of closure CLI comes out but for now it's using line again. Now this is a project that's written in Jenk and I just want to show we have we have two dependencies here ray and rayi for anybody who knows these are native libraries right anybody know actually don't answer this but but ask yourself what build systems do they use

do I have that installed how do I build those projects with that build system well you don't need to worry about it because all you need to do is add those dependencies pipeline on. And then what do we have here? Extracting ray. Compiling ray. Extracting rayui. Compiling rayui. Bam. A game. [applause]

And so here we have uh we have a little flappy bird game uh that has uh is

written in jank. I'll talk I'll talk a little bit about that uh in a bit. But uh here this this compilation I mean it

happens so fast uh uses a special build

script uh that's a Babashka script as part of these packages that hooks into the Jenk native tooling that understands this and it does the necessary work in order to find the system packages or build these packages. Now I also want to show let's do a with profile release

compile. So we're going to do an AOT compilation to an executable. We're going to have to recompile ray and ray gooey because before we were using a debug profile. Now we're using a release profile which meant before we had debug symbols and all that good good stuff wasn't optimized. Really great for debugging. Now uh we are actually optimizing and we're building without debug symbols. Uh so if we just wanted to take a look at target release Flappy Bird, we have a 5.8 8 megabyte binary

that has everything we need and we had one command to build it and if we invoke it uh release flappy bird starts up in

instantaneously there's our game so this is a game that's written in closure right because jenk is closure it's written in closure with a purely functional model but we wanted to bring in a native library in order to do the rendering so all we did was we added two lines to our project. CLJ and then we did line run or we did line compile. It brought in those dependencies. It automatically compiled them for us with the correct uh optimization settings, debug settings that we want. It statically linked them into our executable. Uh and we're launched in. That's the jank dream. Cool. So, that's demo one dunzo. Uh

uh well, this is an exercise in precision. There we go. Uh okay. And then let me get back into this. Uh

I think I'm going to try to wait where's

the minimize. Oh, there we go. Uh and then yeah, nice. And the mouse out of the way. Cool. So native dependencies just work. This whole build system is modeled around cargo uh which is part of the Rust tooling. and they really proved out the usability story uh to show that native build systems don't need to be terrible. Uh the C and C++ ecosystems

simply have not caught up with that. I don't think that they ever will uh just based on the history uh and and how long those systems have been around. But we can do better on top of that. Uh because Jenk exists in a bubble of its own uh where you know that overlaps with the C++ community but also overlaps with the closure community. Uh Jenk actually goes one step further than cargo because these build scripts that run are sandboxed by default on Linux and Mac OS. So these build scripts, they just need to find system packages or or build these projects from source. if they wanted to read your your home directory, anything within it, they wouldn't even be able to because it's not even mounted. So, shout out to Kyle Caesar who implemented uh both this build system and Jenkin's nrepple server in Jenk. Uh I really appreciate uh the whole Jenk community. Uh so

is getting kind of silly now, but uh let's talk about error reporting, which I guess goes somewhere in the middle here. uh when I first started on Jenk and was announcing it saying, "Oh, this closure dialect uh that I'm that uh you

should all be excited about three years from now uh when it's when it's actually going to be usable." A lot of people said, "Okay, that's great. What are you going to do about error reporting? Can you can you please can you please do something about error reporting?" A lot of people care about this. That became very clear to me. Um and I took that seriously. So I I I spent quite a bit of time on this and I'm and I'm quite pleased with the results and so I I do want to show off I have two two examples here showing off uh Jenks error reporting. So bear [snorts] with me. The the first one here we're just going to say a jank run some some uh test file and Jenks error reporting every error type uh is human

readable has a human readable ID and so this one is called analyze invalid death. Uh, and we'll we'll come back to that in a bit. And we have a we have an error message. The var name in a defaf must be a symbol. So we have a defaf. Clearly we we've passed something that's not a symbol for the name. And then we have our code snippet. And so we get to see here we have some macro my defaf. Uh takes a name and a vow. And then it just it just returns a syntax quoted list that builds up the actual def uh with the name and the vow. And then we're calling my defaf. And for this for the name we're passing a vector 1 2 3. And then for the for the vow we're passing four. Now we have three notes and I want to call out all three of these from the bottom upward. [snorts] First off we have expanded from this macro. Jenk always tries to point at the most relevant macro expansion. Uh sometimes not relevant but uh sometimes it's quite useful. Uh then we have our error note which is a symbol is needed for the name here points at the actual spot uh where we put that data uh because the source information belongs to that vector. And then we have this third note which is where that data was actually used in the macro.

And all three of these provide some unique context. Now in this case, it's a relatively simple macro. You don't need all three. But if I gave you a more complex case, it wouldn't fit on one slide and I wouldn't have enough time to describe it. The whole point is this context is useful. This context is useful not only for the experienced devs but the context is useful for new people who are trying to bring into closure as well. Now also we have a URL at the bottom that's quite difficult to see uh that is a link to a page in the jank book for analyze invalid death this particular error and every error message every error type has a dedicated page in the jank book that talks about that error more gives some more information on it some common fixes as well as

uh potentially links to other parts of the jank documentation that are relevant for understanding the the systems that are involved Now the second one I want to show you is for C++ because uh it's not closure's problem that C++ has complex errors but it is Jenk's problem and C++ is uh even

more notorious for its errors because C++ is such a complex language. Jenk has uh completely custom error reporting for all the C++ stuff as well. Here we have

an ambiguous C++ call to the function

bar. Uh and it the error is here. Uh the call is ambiguous between two different overloads. And so we're passing two arguments uh one and two. Both are just unboxed integers. And Jenk is going to give us an output uh of the candidates that were involved. And if there if there are many candidates, they're going to be ranked based on relevancy. So the number of parameters and how closely those parameters match and uh whether the templates involved and everything like that. And then we get a table breakdown for each candidate that says this is the argument that you passed in uh and the type of it. This is the parameter type and then this is how they line up. It's an exact match. It's an implicit match. It's a trade conversion uh or there's no match at all. And so this really easily allows you to be able to see uh exactly what the problem is.

Okay, I wanted this one. Can't use it because there wasn't actually a conversion that was allowed out of here. This is the sort of thing that in C++ you need to be able to deal with unfortunately. Um, but we make it

easier, right? So, we make it easier for people who are coming from the closure community to deal with the C++, make it easier for the C++ people who've been used to worse tooling, and we make it easier for the new people who are going to be learning closure through Jenk. Uh, so, uh, that's, uh, if this isn't the weirdest pie chart you've ever seen, then, uh, tell me where you're from. Uh, what do we do? >> Oh, my plug. Plug it. My Okay. >> Thank Thank you, Egg. Where is Should go in here, right?

Man, what a guy. So, how's performance?

How's Jen's performance? [snorts] Jen's C++, right? So, I mean, it's got to be fast, right? Jenk's performance is promising.

It's promising. So, Closure JVM beats Jenk on most benchmarks right now. Um, Closure JVM is always it's damn good, right? Uh, but but every benchmark I've

worked on, I've actually sat down to optimize, I've been able to get Jenk to be at least as fast as CL JVM, if not several times faster. And that's what's promising. But there are so many more benchmarks. There are so many more areas of Jenk that I just haven't been able to optimize yet. And that's because mainly I'm focusing on building this unprecedented worldclass C++ interop that's never existed before. I'm focused on trying to have Jenk be a fantastic closure dialect. And once I'm comfortable with those, I will focus more on performance. And I'm optimistic uh that Jenk can be quite competitive. But I don't have numbers for runtime performance right now. I will say that dynamic jenk if we think about that gradient dynamic jenk is still closure and closure is still a garbage collected dynamically typed highly polymorphic language. It's not going to be a systems programming language even though it's being compiled to C++. But static jenk

on the other side well static jank just has C++. And there are some things that C++ is very good at that the JVM just can't be

good at because they're just very different systems, right? And so if you'll permit me to brag a little bit more, I'll show one of these uh one of these examples. So this is AOT compilation time uh for a hello world program down to a native executable using Jenk and using Closure 112 and

Growl 25 on my Linux x8664 machine. Jenk takes 1 second to AOT compile down to a native executable. Growl takes 24 seconds. Memory usage Jen takes a couple hundred megs. Growl takes 1.7 gigs.

binary size. Jenk gives you a binary that's 5.5 megs

and Growl gives you a binary that's 15 megs. Both of these are stripped of debug symbols. And then a concession.

The Growl native image starts up in 9 milliseconds on my machine and Jenk starts up in 25 milliseconds. That's because uh Growl does a much better job of baking down metadata whereas Jenk reads it on startup. But what I'm trying to show here is uh that the AOT story is compelling. Now, why is it so compelling? Am I cheating? Clearly, those those numbers were were quite drastic. Well, Growl, the fact that we can even take the JVM and all of these class files and bake them down to a native executable is ridiculously cool, right? This is this is something that wasn't even possible, as far as I know, uh, until 2019. But C++ compiling C and C++ code down to native executables, we've been doing that for half a century, right? We're good at that. So, it's not a fair fight, right? But Jenk gives you native executables the way that native devs do it. And that's great. We should lean into that. So, I've had people say, "Well, why why should I use uh Jenk if if I can compile closure down to native executable already with Growl?" Well, if it matters to you to do it 24 times faster, use seven times less memory, and produce binaries three uh three times smaller, then maybe Jenk is a viable consideration. Speaking of which, when should you use Jenk? Now, I've had a uh I sent out a survey and I asked the Jenk community, what do you want to use Jenk for? It became clear that they want to use Jenk for gamedev and Jenk. Uh, [laughter] and I think those are both great use cases.

Uh but I also think that uh desktop applications are are a really great fit. Um we we talked about you know working so many of you are working with databases and and you're you're building web services and everything like that but there are entirely different industries you know where we can bring closure. The JVM doesn't have a strong guey story. The native world does cute GDK muy slint nuclear all of these are ready at hand from Jenk. I think it's also a good fit for mobile applications. A lot of my career has um been spent in C++ in mobile but really Jen can go wherever your C++ is and if that's embedded mobile uh desktop or in the cloud you can go there. Now Jenk is not competing for Closure JVM's uh grasp of

of web services. That doesn't make sense. I I don't wanna I don't want to fight like I'm trying to bring more people in uh from from other industries,

right? This is my contribution to the closure community. And speaking of which, why build jank in the first place? Nobody's asking this, but I'm going to answer it anyway. So, I saw this this beautiful confluence of of of closure and C++, and I and I wanted to see if I could make that happen. I I decided that was worth the effort of of trying to implement it. And the last three years of my life I've put into working on this. The last two years have been full-time. [snorts] And I want to solve these interesting problems. I I I love the work that I'm doing. It's it's my favorite thing to do and I want to use Jenk to build apps and games, not just Jenk. I I have so many things I want to build in Jenk. And I I want to contribute to the closure community. I love this community. Jenk is part of my contribution to it. I want to build a career around Jenk. I I really want to build a nonprofit and use that nonprofit to hire other people to work with me on Jenk. I am committed to Jenk and I'm committed to doing it right. And so to me, vibe coding jank is simply not an option.

[applause]

I wouldn't want to cheapen Jenk's community or my career by vibe coding Jen and I wouldn't feel comfortable having any of you build your businesses on a vibe coded language. Now I know that the industry is changing and I know that a lot of you have been required to change your workflows. I'm in a privileged position that nobody else is in the position to require me to develop differently and so I won't uh and that is up to each of you to decide what that means to you. So in summary, I said it once, I'll say it again. Jenk is a native closure dialect uh with a handcrafted compiler and unprecedented C++ interop. If we want to break into C++, the Cabi simply won't get us there.

Uh, and Jenk makes m makes native dependencies so easy. It's actually easier to spin up a project in Jenk with

a native dependency than it is to spin up the corresponding C++ project with the corresponding C++ dependency. And that's a win. Jinx error messages are beautiful and I hope that the context is helpful not only for the experienced developers but also for the new Closure developers that we're going to be bringing in who are going to be learning Closure through Jenk. Jenk's beta is coming in January. Uh and I and I hope you all look forward to that. And I want to end with some more questions. So what would you believe it was Jenk is is the topic of this. I' I've asked also would you believe this? Would you believe that? Well, would you believe that this whole uh presentation is written in Jake?

So, [applause] here's here's a ripple. Uh what what what if we want to interact with the the slides a little more? Uh bounce. Ah, but but this is to be honest, this is a tease. This a little bit of a tease. Would you believe that this entire presentation which is driven by Jenk is also embedded in the Godo game engine. Uh, and that in looking at these slides, we're actually seated at a computer console in a spaceship. So, let's take a step back and take a look. >> [applause]

[applause] >> And so this scene uh this was made by

hand in Blender by my wife uh Blender and Godo. And uh this is an AOT compiled

uh Godo game that includes the entire Jenk and LOVM runtime. Uh now all of the code for controlling the player as well as the camera was JIT compiled uh by Jenk and loaded into the executable when the process was started. Uh and

just just trying to demonstrate where where Jenk is these days. Uh as we move here to our our final vantage point, the Jenk planet my wife calls it. Uh I want to ask and answer uh one more thing which is would you believe it's Jenk? You better believe it. [applause]

>> [applause]

[applause]

Related videos

Discussion
0 comments 0 from AI Characters · 0 readers

Sign in to join the discussion.

Make the first comment.

That's Cyber for today

Tomorrow's desk, in your inbox by 06:00 UTC. The week's best stories, every Sunday. The month that mattered, on the 1st.

Drawn from the 538 sources the paper read this month. Text and HTML, one-click unsubscribe, free.

How often
Your desks