Is there plan for Cesium to switch to WebAssembly technology and Blazor ?

233 views
Skip to first unread message

Yordan Yanakiev

unread,
Sep 28, 2019, 5:13:05 PM9/28/19
to cesium-dev
Since seems like WebAssembly is giving quite a boost into 3D ( some test showing up to 15 Times performance improvements  )
I wondered if there is a chance to see it soon in WebAssembly form ?
and is there some work for integration with Blazor technology, which seems like to be one of the main things in the future.

TJ Koury

unread,
Oct 1, 2019, 4:34:02 PM10/1/19
to cesium-dev
My 2 cents:

WebAssembly isn't going to do much for 3D, since it is not running on the graphics card and can't run anything natively in parallel until SIMD is approved.  Things like matrix math will only see a speed up when you are past 256x256 matrices.

Blazor is ... strange.

Yordan Yanakiev

unread,
Oct 4, 2019, 3:00:22 AM10/4/19
to cesium-dev
I am just looking for a way to make cesium much more powerful and productive.
Blazor offer ginormous productivity for a single page applications like most of cesium usage scenarios, and aside the flexibility it is strongly typed, which is another level into the enterprise development of applications.
About webassembly performance - here some test results variating from 1.2 to 16 times performance difference on a different platforms.
https://medium.com/@torch2424/webassembly-is-fast-a-real-world-benchmark-of-webassembly-vs-es6-d85a23f8e193

Yordan Yanakiev

unread,
Oct 4, 2019, 6:55:08 AM10/4/19
to cesium-dev
Additionally most of the companies believe that the blootware called JavaScript is time to go, and be replaced by something much faster and enterprise grade. Current bets in on ASP.NET 5, Blazor and WebAssembly which is promising all the dreams of the enterprises and large scale single codebase RIA web/mobile/desktop apps.
That's why I am made this point about Blazor and WebAsembly, since they will probably be the tech of the future high class and high performance apps.

Omar Shehata

unread,
Oct 4, 2019, 8:09:29 AM10/4/19
to cesium-dev
It's more likely that parts of the engine that are computationally intensive would get written in WebAssembly, which is already the case for decoding Draco compressed models in CesiumJS for example. If the goal is to speed up rendering I'm not sure WASM is going to help, but you're welcome to put together some benchmarks to contribute!

TJ Koury

unread,
Oct 4, 2019, 8:13:08 AM10/4/19
to cesiu...@googlegroups.com
If you want to see an example check out celestrak.com.  Click on the banner to see a Cesium project using wasm for position updates.

Cesium is plenty fast right now, you just have to use it correctly.  

If you’re looking for a fast UI framework, check out Svelte. 

--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/Wl8Dk3UIb5I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cesium-dev/f9298435-b36d-421b-8548-ad53ad70ec6f%40googlegroups.com.

Yordan Yanakiev

unread,
Oct 5, 2019, 3:37:09 AM10/5/19
to cesium-dev
We've done already a few internal tests trying to switch from Flash based map to  Cesium, but still JS lack from  20 to 150 times behind the Flash as pure performance.
We have a lot of on-the-fly generations, multiple types of interaction and hundreds of simulated polylines which have to be redrawn each second or two while there is not visible flickering or interaction change.
Since Cesium so far is the closest thing to our needs, and I am really looking forward to it, and since the project going to be rewritten totally - I just wondered if using a tech which is probably the next big thing would not be great to have soon in cesium as well.
And yep - definitely liked the demo you have show, yet there is a lot of things which would go even better with WebAsm and probably Blazor. This was my point initially, and I really believe from the test I've seen that the 3D is getting much more fps switching to WebAsm.


On Friday, October 4, 2019 at 3:13:08 PM UTC+3, TJ Koury wrote:
If you want to see an example check out celestrak.com.  Click on the banner to see a Cesium project using wasm for position updates.

Cesium is plenty fast right now, you just have to use it correctly.  

If you’re looking for a fast UI framework, check out Svelte. 
On Fri, Oct 4, 2019 at 8:09 AM Omar Shehata <omar.sam...@gmail.com> wrote:
It's more likely that parts of the engine that are computationally intensive would get written in WebAssembly, which is already the case for decoding Draco compressed models in CesiumJS for example. If the goal is to speed up rendering I'm not sure WASM is going to help, but you're welcome to put together some benchmarks to contribute!

On Friday, October 4, 2019 at 6:55:08 AM UTC-4, Yordan Yanakiev wrote:
Additionally most of the companies believe that the blootware called JavaScript is time to go, and be replaced by something much faster and enterprise grade. Current bets in on ASP.NET 5, Blazor and WebAssembly which is promising all the dreams of the enterprises and large scale single codebase RIA web/mobile/desktop apps.
That's why I am made this point about Blazor and WebAsembly, since they will probably be the tech of the future high class and high performance apps.

On Friday, October 4, 2019 at 10:00:22 AM UTC+3, Yordan Yanakiev wrote:
I am just looking for a way to make cesium much more powerful and productive.
Blazor offer ginormous productivity for a single page applications like most of cesium usage scenarios, and aside the flexibility it is strongly typed, which is another level into the enterprise development of applications.
About webassembly performance - here some test results variating from 1.2 to 16 times performance difference on a different platforms.
https://medium.com/@torch2424/webassembly-is-fast-a-real-world-benchmark-of-webassembly-vs-es6-d85a23f8e193



On Tuesday, October 1, 2019 at 11:34:02 PM UTC+3, TJ Koury wrote:
My 2 cents:

WebAssembly isn't going to do much for 3D, since it is not running on the graphics card and can't run anything natively in parallel until SIMD is approved.  Things like matrix math will only see a speed up when you are past 256x256 matrices.

Blazor is ... strange.

On Saturday, September 28, 2019 at 5:13:05 PM UTC-4, Yordan Yanakiev wrote:
Since seems like WebAssembly is giving quite a boost into 3D ( some test showing up to 15 Times performance improvements  )
I wondered if there is a chance to see it soon in WebAssembly form ?
and is there some work for integration with Blazor technology, which seems like to be one of the main things in the future.

--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/Wl8Dk3UIb5I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesiu...@googlegroups.com.

Yordan Yanakiev

unread,
Oct 5, 2019, 3:54:38 AM10/5/19
to cesium-dev
https://blogs.autodesk.com/autocad/autocad-web-app-google-io-2018/

Here - a keynote, explanation and real performance demo of why Autodesk ditched JS in favor of WebAssembly, and finally they have everything they have dreamed for.

Yordan Yanakiev

unread,
Oct 5, 2019, 4:04:20 AM10/5/19
to cesium-dev

TJ Koury

unread,
Oct 11, 2019, 6:17:58 AM10/11/19
to cesiu...@googlegroups.com
Yup, that article won me over.  I’m going to convert Cesium to web assembly, I’ll post here when I’m done. 

On Sat, Oct 5, 2019 at 4:04 AM Yordan Yanakiev <yor...@yanakiev.org> wrote:

--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/Wl8Dk3UIb5I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cesium-dev/5985c3a7-2cf0-4e27-8c05-6be6646e96fe%40googlegroups.com.
Message has been deleted

TJ Koury

unread,
Oct 23, 2019, 7:29:14 AM10/23/19
to cesiu...@googlegroups.com
Not sarcastic, I’ve already started.  I’ll be using a subset of TypeScript that is convertible to WASM.

On Fri, Oct 18, 2019 at 8:15 PM Yordan Yanakiev <yor...@yanakiev.org> wrote:
Well.. Probably this is great sarcastic reply, but yet if Autodesk and Microsoft are actually converting their apps to WebAssembly then.. maybe it's not a bad idea to be tested :|


On Friday, October 11, 2019 at 1:17:58 PM UTC+3, TJ Koury wrote:
Yup, that article won me over.  I’m going to convert Cesium to web assembly, I’ll post here when I’m done. 
On Sat, Oct 5, 2019 at 4:04 AM Yordan Yanakiev <yor...@yanakiev.org> wrote:

--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/Wl8Dk3UIb5I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesiu...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/Wl8Dk3UIb5I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.

Yordan Yanakiev

unread,
Oct 23, 2019, 8:03:24 AM10/23/19
to cesium-dev
Good lords ! I am feeling a bit bad right now. Please accept my apology ! And THANK YOU ! :)
I am absolutely excited now ! <3 <3 <3 !!!


On Wednesday, October 23, 2019 at 2:29:14 PM UTC+3, TJ Koury wrote:
Not sarcastic, I’ve already started.  I’ll be using a subset of TypeScript that is convertible to WASM.
On Fri, Oct 18, 2019 at 8:15 PM Yordan Yanakiev <yor...@yanakiev.org> wrote:
Well.. Probably this is great sarcastic reply, but yet if Autodesk and Microsoft are actually converting their apps to WebAssembly then.. maybe it's not a bad idea to be tested :|

On Friday, October 11, 2019 at 1:17:58 PM UTC+3, TJ Koury wrote:
Yup, that article won me over.  I’m going to convert Cesium to web assembly, I’ll post here when I’m done. 

On Sat, Oct 5, 2019 at 4:04 AM Yordan Yanakiev <yor...@yanakiev.org> wrote:

--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/Wl8Dk3UIb5I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesiu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cesium-dev/5985c3a7-2cf0-4e27-8c05-6be6646e96fe%40googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "cesium-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cesium-dev/Wl8Dk3UIb5I/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cesiu...@googlegroups.com.

TJ Koury

unread,
Oct 26, 2019, 12:59:31 PM10/26/19
to cesiu...@googlegroups.com
I am excited too, but it is going to take a long time (probably 6 months) before the first demo.

To unsubscribe from this group and all its topics, send an email to cesium-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cesium-dev/217d67b7-cdf4-4a4e-ad11-c72f8bbead97%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages