highlight.js

Tuesday, April 27, 2021

What's Wrong with GLIBCXX_3.4.26?

If you met the following error, please check this post out for a solution.

java.lang.UnsatisfiedLinkError: /tmp/libjavet-v8-linux-x86_64.v.0.8.4.so: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /tmp/libjavet-v8-linux-x86_64.v.0.8.4.so)

Saturday, April 24, 2021

Tuesday, April 13, 2021

Javet v0.8.3 is released

  • Added V8Runtime.lowMemoryNotification() and V8Runtime.idleNotificationDeadline()
  • Added V8Host.setMemoryUsageThresholdRatio()V8Host.enableGCNotification(), and V8Host.disableGCNotification()
  • Updated JavetEnginePool to be lock free
  • Added autoSendGCNotification to JavetEngineConfig
  • Moved JavetCallbackContext management from V8ValueFunction to V8
  • Added JavetPromiseRejectCallback for V8 mode

https://github.com/caoccao/Javet/

Sunday, April 4, 2021

Javet v.0.8.1 is released.

  • Enabled declarative function interception
  • Enabled custom object converter in function callback
  • Added allowEval to JavetEngineConfig
  • Refactored built-in module API for Node.js mode

Saturday, April 3, 2021

What does Embedding Node.js and V8 Development Really Mean?

I've been asked quite a few times on how long I spent embedding Node.js. Well, it took almost 3 weeks to unlock Node.js v14.16.0 for Linux and Windows.

I started from the Windows one and it was quite hard. After settling down the Windows version, I jumped into the Linux one. It was a journey full of desperation that would almost kill this project. Finally, I made it. That's Javet.

That may partially explain why I don't intend to support MacOS / Android by myself. Any volunteers?

IDEA / HandBrake / WSL Port Conflict

Recently I upgraded HandBrake to the latest version, however, it stopped working. The root cause is TCP port conflict. As usual, I ran net s...