Coder Social home page Coder Social logo

trellixvulnteam / krom_vom6 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kode/krom

0.0 0.0 0.0 659.02 MB

License: Other

Shell 0.20% JavaScript 59.39% C++ 23.73% Python 12.11% Perl 0.06% C 2.81% Emacs Lisp 0.07% R 0.04% Assembly 0.01% Objective-C++ 0.01% Makefile 0.27% HTML 0.84% DTrace 0.19% Batchfile 0.22% Roff 0.05%

krom_vom6's Introduction

Krom

Kinc + V8 combined.

Krom is a highly portable runtime for JavaScript based multimedia applications. It executes JS or webassembly through V8 and is fully supported in Kha as one of the backends, see bindings. Krom is optimized for very fast development cycles and directly supports hot-patching of code, shaders and assets.

Note that Krom does not rely on web APIs. It rather exposes full, native hardware capabilities and in particular surpasses WebGL in features and speed.

Build instructions

  • For Windows: Run node Kinc/make and compile in Visual Studio for x64
  • For macOS: Run node Kinc/make --noshaders and compile in Xcode
  • For Linux: Run node Kinc/make --compiler clang --compile

Running

krom [assetsdir shadersdir [--flags]]

If no arguments are provided, assets and shaders are loaded from the executable path.

Debugging

To debug Krom itself, just start it in Visual Studio or Xcode (Linux IDEs are not yet setup automatically for Krom debugging). The debug protocol can be debugged using an "attach" debug configuration in Kode Studio or Visual Studio Code. First start Krom in your C++ IDE with parameters ala /path/to/project/build/krom --debug 9988 and then start a launch config which looks something like this:

{ "type": "krom", "request": "attach", "name": "Krom-Test", "preLaunchTask": "Kha: Build for Krom", "port": 9988 }

krom_vom6's People

Contributors

ry avatar trott avatar bnoordhuis avatar isaacs avatar addaleax avatar cjihrig avatar jasnell avatar targos avatar bridgear avatar indutny avatar joyeecheung avatar piscisaureus avatar danbev avatar tniessen avatar rvagg avatar trevnorris avatar mscdex avatar sam-github avatar aduh95 avatar tjfontaine avatar vsemozhetbyt avatar refack avatar mylesborins avatar ronag avatar mhdawson avatar richardlau avatar shigeki avatar apapirovski avatar tootallnate avatar lpinca avatar

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.