Window.js is an open-source JavaScript runtime for desktop graphics programming

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

JetBrains - Tell us how you use coding tools. You may win a prize!
Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!
surveys.jetbrains.com
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. windowjs

    Window.js is an open-source Javascript runtime for desktop graphics programming.

    I had two ideas for Typescript in mind:

    1. provide type declarations for the Window.js APIs, and

    2. integrate with the Typescript compiler during development (e.g. F5 to reload, run typescript sources "directly", show compiler errors in the console / main window, etc.)

    I've just started these discussion on GitHub, please share your thoughts:

    https://github.com/windowjs/windowjs/discussions/27

    https://github.com/windowjs/windowjs/discussions/28

    Does this cover what you had in mind? Are there better ways to support Typescript?

  2. JetBrains

    Tell us how you use coding tools. You may win a prize! Are you a developer or a data analyst? Share your thoughts about your coding tools in our short survey and get a chance to win prizes!

    JetBrains logo
  3. TypeScriptToLua

    Typescript to lua transpiler. https://typescripttolua.github.io/

    One immediate comparison that springs to my mind is the Löve 2D engine [1], which is a tiny game engine written entirely around Lua scripting (so that Lua includes the full game run loop as well).

    Lua is a good scripting language, but it doesn't have the ubiquity of JS (and Löve doesn't have the ubiquitous deployment of the modern browser). Also, Lua doesn't have a static type ecosystem (though there are interesting projects like TypescriptToLua [2] exploring that space, but you can from the name they are following/lagging the JS ecosystem here).

    There probably is a need to package more browser games as "real" games and a lightweight Canvas-focused approach could find a nice like Löve, especially if it were easier, for instance, to maybe port to consoles for small/indie game teams than one of the web views or Electron. (Though certainly Microsoft already has a version of WebView2 running on the Xbox.)

    [1] https://love2d.org/

    [2] https://github.com/TypeScriptToLua/TypeScriptToLua

  4. love

    LÖVE is an awesome 2D game framework for Lua.

    One immediate comparison that springs to my mind is the Löve 2D engine [1], which is a tiny game engine written entirely around Lua scripting (so that Lua includes the full game run loop as well).

    Lua is a good scripting language, but it doesn't have the ubiquity of JS (and Löve doesn't have the ubiquitous deployment of the modern browser). Also, Lua doesn't have a static type ecosystem (though there are interesting projects like TypescriptToLua [2] exploring that space, but you can from the name they are following/lagging the JS ecosystem here).

    There probably is a need to package more browser games as "real" games and a lightweight Canvas-focused approach could find a nice like Löve, especially if it were easier, for instance, to maybe port to consoles for small/indie game teams than one of the web views or Electron. (Though certainly Microsoft already has a version of WebView2 running on the Xbox.)

    [1] https://love2d.org/

    [2] https://github.com/TypeScriptToLua/TypeScriptToLua

  5. windows-samples-rs

    The best place to start for you is https://github.com/microsoft/windows-samples-rs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • TypeScriptToLua – Write Lua with TypeScript

    1 project | news.ycombinator.com | 3 Jun 2024
  • Show HN: Shoot the neural network before it shoots you

    4 projects | news.ycombinator.com | 23 Jan 2022
  • TypeScript to Lua Transpiler

    2 projects | news.ycombinator.com | 17 Aug 2021
  • LÖVR – An open source framework for rapidly building immersive 3D experiences

    11 projects | news.ycombinator.com | 5 Aug 2021
  • Forking the typescript compiler and building on it?

    5 projects | /r/typescript | 14 Jun 2021

Did you know that C++ is
the 7th most popular programming language
based on number of references?