• Latest
  • Trending
  • All
  • BUSINESS
  • ENTERTAINMENT
  • POLITICAL
  • TECHNOLOGY

December 15, 2024
Indices: Already not extreme fear

Indices: Already not extreme fear

April 24, 2025
Eurozone: Tariff reversal is some relief, but no game changer – ABN AMRO

Eurozone: Tariff reversal is some relief, but no game changer – ABN AMRO

April 24, 2025
US: The US has already lost the trade war – ABN AMRO

US: The US has already lost the trade war – ABN AMRO

April 24, 2025
Predictive Analytics Promise the End of ‘Gut Feelings’ in Construction

Predictive Analytics Promise the End of ‘Gut Feelings’ in Construction

April 24, 2025
First Border Wall Contracts of Second Trump Term Awarded in Texas, San Diego

First Border Wall Contracts of Second Trump Term Awarded in Texas, San Diego

April 24, 2025
Construction Economics for April 28, 2025

Construction Economics for April 28, 2025

April 24, 2025
AI startups backed to boost construction productivity

AI startups backed to boost construction productivity

April 24, 2025
Why is building safety litigation on the rise?

Why is building safety litigation on the rise?

April 24, 2025
Severfield to cut 6 per cent of staff despite ‘solid’ order book

Severfield to cut 6 per cent of staff despite ‘solid’ order book

April 24, 2025
Bovis promotes operations head to board

Bovis promotes operations head to board

April 24, 2025
China expresses condolences over death of Pope Francis, World News

China expresses condolences over death of Pope Francis, World News

April 24, 2025
Pope Francis’ body taken in procession to St Peter’s for lying in state, World News

Pope Francis’ body taken in procession to St Peter’s for lying in state, World News

April 24, 2025
  • About
  • Advertise
  • Privacy & Policy
  • Contact
Sunday, May 18, 2025
No Result
View All Result
  • HOME
  • BUSINESS
  • ENTERTAINMENT
  • POLITICAL
  • TECHNOLOGY
  • ABOUT US
  • Login
  • Register
  • HOME
  • BUSINESS
  • ENTERTAINMENT
  • POLITICAL
  • TECHNOLOGY
  • ABOUT US
No Result
View All Result
Huewire
No Result
View All Result
Home TECHNOLOGY

by huewire
December 15, 2024
in TECHNOLOGY
0
491
SHARES
1.4k
VIEWS
Share on FacebookShare on Twitter

New WebAssembly backend

This release is mostly driven by development of new WebAssembly backend.
Old WebAssembly backend exists for many years and works well, however, did not see any adoption.
The main reason is that it does not add significant advantages (like performance improvements),
but makes development experience much worse, i.e. does not allow to easily interact with browser JS APIs
and produces large binary files (times as large as JS).

With introduction of new WebAssembly GC proposal these problems were solved.
However, this is not just small addition to original WebAssembly spec, but a game changer,
it was impossible just to improve existing backend to support new proposal.
So the decision was made to create a brand new WebAssembly backend, which would co-exist with the old one.
Perhaps, at some point old WebAssembly backend will be deprecated and fully removed,
but for now they will co-exist.
However, WebAssembly GC will be advertised as primary WebAssembly target
and the documentation will be maintained for WebAssembly GC, not for old WebAssembly.

New WebAssembly GC is a bit limited compared to JS backend, but mostly provides all features available
in old WebAssembly backend. Moreover, WebAssembly GC fully supports JSO, as Java-to-JS interaction API.
Hopefully, the next release will cover remaining features and WebAssembly GC backend will be on par with
JS backend and the “experimental” tag will be removed from WebAssembly support.

Java class library emulation

  • Fixed bugs in BitSet implementation
  • Add ceilDiv, ceilDivExact, ceilMod, floorDivExact, absExact to Math class.

Support for JS APIs

  • Reading files from , which includes classes like File, Blob, ReadableStream and so on.
  • Binding for HTMLElement.touch and HTMLElement.input events.
  • Binding for Popover API.
  • Binding for Navigator.sendBeacon
  • Binding for Error.cause

Other stuff

  • Long emulation was removed from JS runtime. Now JS only relies on
    BigInt,
    which is supported by all browsers for more than 4 years.

Sponsorship

Worth mentioning that TeaVM evolved with the support from its sponsors.
If you like this project, you can start donating.

Special thanks to @reportmill and @shannah, our permanent sponsors!

Contributors

  • @lax1dude
  • @Ihromant
  • @hontvari
  • @lasse-cs
  • @pizzadox9999
  • @SquidDev

Special thanks to @Ihromant, @lax1dude
and xpenatan, who were early adopters of WebAssembly GC backend
and helped to find some bugs there. Also, I want to highlight @lax1dude,
who not only enabled WebAssembly GC in his project, bug managed to identify, fix and successfully
sent his PR to main repository.

Read More

Share196Tweet123
huewire

huewire

Recent Comments

No comments to show.

Recent Posts

  • Indices: Already not extreme fear
  • Eurozone: Tariff reversal is some relief, but no game changer – ABN AMRO
  • US: The US has already lost the trade war – ABN AMRO
  • Predictive Analytics Promise the End of ‘Gut Feelings’ in Construction
  • First Border Wall Contracts of Second Trump Term Awarded in Texas, San Diego
Huewire

Copyrights © 2024 Huewire.com.

Navigate Site

  • About
  • Advertise
  • Privacy & Policy
  • Contact

Follow Us

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

No Result
View All Result
  • HOME
  • BUSINESS
  • ENTERTAINMENT
  • POLITICAL
  • TECHNOLOGY
  • ABOUT US

Copyrights © 2024 Huewire.com.