Giter VIP home page Giter VIP logo

Comments (5)

novabyte avatar novabyte commented on June 30, 2024

@gedw99 I've been tracking what it could look like to support a WASM runtime and allow game teams to write their server code in whichever language supports WASM as a compiler target.

What's unclear at the moment is how to maintain the set of necessary interfaces/headers/typedefs for each of the languages that compile to WASM? How do others maintain these stubs?

from nakama-common.

joshua-mng avatar joshua-mng commented on June 30, 2024

This would be a game changer, hope to see this implemented in nakama soon.

from nakama-common.

MWFIAE avatar MWFIAE commented on June 30, 2024

What's unclear at the moment is how to maintain the set of necessary interfaces/headers/typedefs for each of the languages that compile to WASM? How do others maintain these stubs?

I would argue that maintaining the stubs can be easily given to the community. If somebody wants to use rust they search for rust bindings or make them themselves. The only thing thats needed is a clear documentation on the exported functions and types. Maybe this can even be automatized if the format is easily parseable, though not sure if its actually worth it or if handcrafting and maintaining the binding would be easier and quicker.

Of course an official rust binding would still be appreciated, as rust and wasm seem to be the most common combination.

from nakama-common.

Waffleophagus avatar Waffleophagus commented on June 30, 2024

Another random idea, could you just expose the functions of Nakama as an API? WASM would be amazing as it would enable any number of languages, but implementing an interface to allow Nakama to just call out to a container in the same cluster and/or on the same network. You could let them communicate and that way remove any limitations to people using your services.

from nakama-common.

MWFIAE avatar MWFIAE commented on June 30, 2024

You could recreate that quite easily by making some custom rpcs in lua or typescript and calling them, of course thats a lot of overhead you will likely want to avoid :)

from nakama-common.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.