Mathias Westerdahl · @jcash
139 followers · 75 posts · Server mastodon.gamedev.place

Playing with auto generating Java/JNI bindings for the new atlas packer.

Doing it manually is subtly error prone and boring/time consuming source of issues.

Using clang's ast-dump feature and a modified version gen_ir.py from @floooh

#gamedev #codegen #defold

Last updated 1 year ago

Mike Bifulco · @irreverentmike
485 followers · 367 posts · Server hachyderm.io

Excited to say that as of this morning, APIs You Won't Hate (the newsletter) is back in action! If you're interested in APIs, you'll get a fresh infusion of knowledge in your inbox from the biggest community of API devs on the web.

Read today's newsletter, and subscribe here: apisyouwonthate.com/newsletter

#api #dev #devx #codegen #openapi #rest #graphql

Last updated 1 year ago

Mike Bifulco · @irreverentmike
485 followers · 365 posts · Server hachyderm.io

🎙️ Jazzed about API client library codegen with Danny Sheridan from Fern
A fresh episode of APIs You Won't Hate (the podcast)

I sat down with co-founder and CEO of Fern, Danny Sheridan to talk about what his team is building. Fern is helping engineering teams scale their output with API Client Library code-generation.

Danny's team is building some seriously cool tech, and my man knows how to bring the energy to a podcast interview. Thanks, Danny!

share.transistor.fm/s/c6ad2ee1

#apis #codegen #devx

Last updated 1 year ago

michabbb · @michabbb
14 followers · 312 posts · Server social.vivaldi.net

Run 🤗 Transformers in your browser! - github.com/xenova/transformers

We currently support , , , , .1, , , , , , , Transformer, and VisionEncoderDecoder models, for a variety of tasks....

#bert #albert #distilbert #t5 #t5v1 #flant5 #gpt2 #bart #codegen #whisper #clip #vision #webml

Last updated 1 year ago

Sasha Firsov · @Suns
14 followers · 145 posts · Server fosstodon.org

`import {MyQueryDocument} from myQuery.graphql` with strict TS checks on @apollo/client `useQuery` and `client.query()` on node app is another challenge beaten this week.

No docs or reference implementation, so have to be inventive on , , config

For curious: the key is to generate `myQuery.graphql.ts` by codegen near-operation-file. works perfect in React app, in
app have to trick with

`import {MyQueryDocument} from myQuery.graphql-generated`

#linter #typescript #codegen #oclif

Last updated 1 year ago

Steve Gordon · @stevejgordon
505 followers · 25 posts · Server fosstodon.org

I'm speaking at this week. My session talks about code generation using the Roslyn APIs. I hope to see some of you there. My talk is 5m 30s too long, so it still needs some careful trimming!

ndclondon.com/agenda/writing-c

#ndclondon #roslyn #csharp #dotnet #codegen #compilers

Last updated 2 years ago

· @angsuman
49 followers · 101533 posts · Server mstdn.jp

– a free, ultrafast AI extension codeium.com/

#codegen #codeium #fyi

Last updated 2 years ago

While will probably be trending today, I had planned to share that month-old piece of news about : ai.googleblog.com/2022/11/robo

Using an they managed to generate code that can interpret to perform task in context. The model takes into account what is perceived by the and the actions available.

Since the reasoning is encoded in the , this is magnitude-easier to re-train it on a specific task and environment than end-to-end approaches.

#machinelearning #robot #robots #llm #codegen #alphacode

Last updated 2 years ago

· @angsuman
46 followers · 97637 posts · Server mstdn.jp

#codex #codegen

Last updated 2 years ago

Daniel · @semperos
72 followers · 26 posts · Server fosstodon.org

Now have for top-level functions in Dart libraries for PiLisp.

Also revamped implementation of its reader to be simpler.

Have std lib loading at Dart compile time, providing a default, already-loaded env.

A now in addition to the one.

I’ve avoided loop/recur until now (just using naive recursion), that is one of the last missing pieces before taking this language on its first real field trip.

#dart #codegen #lisp #cli #repl #flutter

Last updated 2 years ago

Daniel · @semperos
72 followers · 26 posts · Server fosstodon.org

Saga of continues. Adding one class at a time to my method-crawling code and tackling corner cases as they arise. Pretty cool to have generated wrappers in PiLisp to invoke core Dart functionality.

Will likely be more selective about which methods get included by project’s end, but for now enjoying a deeper dive into Dart’s core classes.

#dart #codegen #lisp

Last updated 2 years ago

Aaron Sarazan · @SpewanMcGregor
58 followers · 53 posts · Server mastodon.gamedev.place
Daniel · @semperos
72 followers · 26 posts · Server fosstodon.org

Trying my hand at some in using the source_gen library.

I want the methods and fields of several core Dart classes available as bindings in PiLisp. Using dart:mirrors to walk the classes and output appropriate PiLisp-compatible functions and adding those to the bindings of the language.

The default PiLisp impl. should be runnable in native and Flutter targets, so shipping with dart:mirrors dependency directly isn't an option.

#codegen #dart

Last updated 2 years ago

David Sterry · @weex
135 followers · 458 posts · Server c4.social

After creating an OpenAPI spec for wot-server, I went looking for an API client generator. The first one I saw looked decent and made ruby gems, but didn't have much activity around it. A few closed issues and PRs.

OpenAPI-generator on the other hand has thousands of open issues and a few hundred open pull requests. I used to see these as red flags, signs that a project was out of control, maybe beyond help, but now I see these big numbers as proof that the project is socially important. Not only do tons of people care enough to report problems and submit solutions, the commit log is buzzing.

I still have no idea if the gem it generates for me is good but with this many eyeballs how bad could it be?

#python #ruby #openapi #codegen

Last updated 3 years ago

David Sterry · @weex
135 followers · 458 posts · Server c4.social

Anyone have tips on how to codegen an OpenAPI consumer for Ruby? Started working with insomniac to define and test a REST API but I'm just about to access it from and would like to do it right.

#codegen #restapi #ruby

Last updated 3 years ago