Monday, February 21, 2022

Yellicode: Code Generation with TypeScript

Yellicode @GitHub

yellicode/cli: CLI for Yellicode - an extensible code generator.

Yellicode lets you build your own code generation templates with TypeScript. It consists of a Node.js CLI and extensible APIs, making it easy for developers to create, share and re-use code generators for their favorite programming languages and frameworks.  MPL license


Yellicode - A free and extensible source code generation engine







server side Dart, with gRPC


Writing server side Dart code. …and: is it worth it? | by Matias Meno | Dropzone

Server side dart code is very similar to node. The simplest code to actually start an HTTP server in dart is this:

import 'dart:io';
main() async {
  final server = await HttpServer.bind(InternetAddress.anyIPv6, 80);
  server.listen((HttpRequest request) {
    request.response.write('Hello, world!');
    request.response.close();
  });
}

you compile your whole server app into a single binary, which is optimized and starts instantly, and ship it in a tiny Container.