All Projects → caoccao → Javet

caoccao / Javet

Licence: Apache-2.0 license
Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java.

Programming Languages

java
68154 projects - #9 most used programming language
C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
Dockerfile
14818 projects
javascript
184084 projects - #8 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to Javet

V8js
V8 Javascript Engine for PHP — This PHP extension embeds the Google V8 Javascript Engine
Stars: ✭ 1,659 (+661.01%)
Mutual labels:  v8, v8-javascript-engine
WraithEngine
A free, open source, Java game engine library built on top of LWJGL. Designed to act as a use-exactly-what-you-need, no-assumptions framework, WraithEngine is versatile enough to act as a library within other tools or projects, or a full fledged standalone game engine.
Stars: ✭ 47 (-78.44%)
Mutual labels:  engine
VoxelEngine
Custom voxel engine written in C++ and OpenGL
Stars: ✭ 44 (-79.82%)
Mutual labels:  engine
gba-sprite-engine
An object-oriented Game Boy Advance sprite engine concept
Stars: ✭ 68 (-68.81%)
Mutual labels:  engine
python-react-v8
⭐ Render React.js views server-side
Stars: ✭ 79 (-63.76%)
Mutual labels:  v8
jprol
Yet another Java based Prolog engine
Stars: ✭ 25 (-88.53%)
Mutual labels:  engine
Nexus
🖼️ Actionscript 3, GPU accelerated 2D game engine using Stage3D
Stars: ✭ 12 (-94.5%)
Mutual labels:  engine
multi-tenancy-devise
mtdevise adds basecamp style user logins to your ruby on rails application.
Stars: ✭ 27 (-87.61%)
Mutual labels:  engine
dry
Dry is a new template engine and language, and is a superset of Shopify's Liquid, with first-class support for advanced inheritance features, and more. From the creators of Enquirer, Assemble, Remarkable, and Micromatch.
Stars: ✭ 66 (-69.72%)
Mutual labels:  engine
GitMessengerBot-Android
타입스크립트, V8 엔진의 자바스크립트, 파이썬 그리고 Git을 지원하는 최첨단 메신저 봇!
Stars: ✭ 51 (-76.61%)
Mutual labels:  v8-javascript-engine
rage1
RAGE1: Retro Adventure Game Engine, release 1
Stars: ✭ 16 (-92.66%)
Mutual labels:  engine
Quake2
Quake 2 modification with new renderer and many other unique features.
Stars: ✭ 31 (-85.78%)
Mutual labels:  engine
napalm-logs
Cross-vendor normalisation for network syslog messages, following the OpenConfig and IETF YANG models
Stars: ✭ 131 (-39.91%)
Mutual labels:  engine
Scylla
The Simplistic Information Gathering Engine | Find Advanced Information on a Username, Website, Phone Number, etc.
Stars: ✭ 424 (+94.5%)
Mutual labels:  engine
kunkka-match
高性能撮合引擎
Stars: ✭ 50 (-77.06%)
Mutual labels:  engine
bitty
Bitty Engine - An itty bitty 2D game engine, with built-in editors, programmable in Lua.
Stars: ✭ 86 (-60.55%)
Mutual labels:  engine
FabChess
UCI compliant chess engine written in Rust
Stars: ✭ 27 (-87.61%)
Mutual labels:  engine
bonita-engine
Deploy, execute, manage process-based applications made with Bonita studio or through Engine APIs
Stars: ✭ 123 (-43.58%)
Mutual labels:  engine
UT GameEventSystem
A flexible event system in Unreal Engine 4
Stars: ✭ 33 (-84.86%)
Mutual labels:  engine
smol
Uma game engine desenvolvida ao longo de uma série de vídeos do canal https://www.youtube.com/gamedevlog
Stars: ✭ 23 (-89.45%)
Mutual labels:  engine

Javet

Maven Central Discord Donate

Linux Build Android Build

Javet is Java + V8 (JAVa + V + EighT). It is an awesome way of embedding Node.js and V8 in Java.

If you like my work, please Star this project. And, you may follow me @sjtucaocao, or visit http://caoccao.blogspot.com/. And the official support channel is at discord.

💖 If you use Mac OS (x86_64), please be aware that the Mac OS (x86_64) build will discontinue anytime because my MacBook Air mid-2012 will be soon deprecated by new version of V8. Please donate to support me purchasing a new Mac OS (x86_64) device. Or, if you have a retired Mac OS (x86_64) device and are fine with mailing it to me, that will also be great. Thank you for supporting Javet. There is no new official releases after v1.1.0. Please contact the maintainer for the new private releases.

💖 If you use Mac OS (arm64), there is no new releases after v1.1.0. That's because I don't have any Mac OS (arm64) device to produce any new builds. Please donate to support me purchasing a new Mac OS (arm64) device.

Major Features

  • Linux (x86_64) + Mac OS (x86_64, arm64) + ️Windows (x86_64)
  • Android (arm, arm64, x86 and x86_64)
  • Node.js v16.16.0 + V8 v10.4.132.20
  • Dynamic switch between Node.js and V8 mode (Which mode do you prefer?)
  • Polyfill V8 mode with Javenode
  • V8 API exposure in JVM
  • JavaScript and Java interop
  • Native BigInt and Date
  • Javet engine pool
  • Easy spring integration
  • Live debug with Chrome DevTools

Quick Start

Dependency

Maven

<!-- Linux and Windows (x86_64) -->
<dependency>
    <groupId>com.caoccao.javet</groupId>
    <artifactId>javet</artifactId>
    <version>1.1.6</version>
</dependency>

<!-- Mac OS (x86_64 and arm64) -->
<dependency>
    <groupId>com.caoccao.javet</groupId>
    <artifactId>javet-macos</artifactId>
    <version>1.1.0</version>
</dependency>

Gradle Kotlin DSL

implementation("com.caoccao.javet:javet:1.1.6") // Linux and Windows (x86_64)
implementation("com.caoccao.javet:javet-macos:1.1.0") // Mac OS (x86_64 and arm64)
implementation("com.caoccao.javet:javet-android:1.1.6") // Android (arm, arm64, x86 and x86_64)

Gradle Groovy DSL

implementation 'com.caoccao.javet:javet:1.1.6' // Linux and Windows (x86_64)
implementation 'com.caoccao.javet:javet-macos:1.1.0' // Mac OS (x86_64 and arm64)
implementation 'com.caoccao.javet:javet-android:1.1.6' // Android (arm, arm64, x86 and x86_64)

Hello Javet

// Node.js Mode
try (V8Runtime v8Runtime = V8Host.getNodeInstance().createV8Runtime()) {
    System.out.println(v8Runtime.getExecutor("'Hello Javet'").executeString());
}

// V8 Mode
try (V8Runtime v8Runtime = V8Host.getV8Instance().createV8Runtime()) {
    System.out.println(v8Runtime.getExecutor("'Hello Javet'").executeString());
}

License

APACHE LICENSE, VERSION 2.0.

Documents

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].