form5 2018-2-10 03:00
Quote from
http://blog.stevensanderson.com/2018/02/06/blazor-intro/
“Today the ASP.NET team announced that Blazor has moved into the ASP.NET organization, and we’re beginning an experimental phase to see whether we can develop it into a supported shipping product. This is a big step forwards!
What is Blazor? It’s a framework for browser-based (client-side) applications written in .NET, running under WebAssembly. It gives you all the benefits of a rich, modern single-page application (SPA) platform while letting you use .NET end-to-end, including sharing code across server and client. The announcement post covers more about the intended use cases, timescales, and so on.“
個post 入面有github source code link, complie 到 ,又行到。
web assembly 估計今年年尾 有可能 開始 實用化
xianrenb 2018-2-10 09:36
[quote]原帖由 [i]form5[/i] 於 2018-2-10 03:00 AM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=475105478&ptid=27237709][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
Quote from
[url=http://blog.stevensanderson.com/2018/02/06/blazor-intro/]http://blog.stevensanderson.com/2018/02/06/blazor-intro/[/url]
“Today the ASP.NET team announced that Blazor has moved into the ASP.NET organization, and we’re beginning an experim ... [/quote]
這個 Blazor / .NET 看來好好。
但同時有個問題, .NET 、 Java 本身都有像 WebAssembly 的目的,就是統一規格在各硬件平台上 run program 。
如果寫了程式,轉完 .NET 後再轉 WebAssembly ,會唔會有效能上的問題?
對於一般電腦語言來說,可能只考慮 support/optimize WebAssembly 輸出就夠。
長遠來說, .NET 或 Java 應該會被 WebAssembly 取代。
fitcat07 2018-2-10 10:26
Web development 終於進化到勉強可以易於畀人寫嘅階段:
html/javascript : machine code
jquery/current frameworks : assembly
web assembly: high level languages (maybe COBOL/Fortran, not yet Pascal/C)
應該要有drag-and-drop GUI tools,event-driven development,唔洗再學html/css/javascript,有更高層次嘅語言取代。
Susan﹏汪汪 2018-2-10 11:11
佢呢到講好似做埋UI
Susan﹏汪汪 2018-2-10 11:14
[url=https://blazor-demo.github.io]https://blazor-demo.github.io[/url]
用手機上只係得個loading...
form5 2018-2-10 13:24
[quote]原帖由 [i]Susan﹏汪汪[/i] 於 2018-2-10 11:14 AM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=475114778&ptid=27237709][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
[url=https://blazor-demo.github.io]https://blazor-demo.github.io[/url]
用手機上只係得個loading... [/quote]
提醒各位,最好吾好用 mobile 試, 毎次行,會download 幾MB dll 到local 行,而且都幾慢
最好用最新vs2017 行一行,其中一個 proj 會快少少
form5 2018-2-10 13:35
[quote]原帖由 [i]xianrenb[/i] 於 2018-2-10 09:36 AM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=475111189&ptid=27237709][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
這個 Blazor / .NET 看來好好。
但同時有個問題, .NET 、 Java 本身都有像 WebAssembly 的目的,就是統一規格在各硬件平台上 run program 。
如果寫了程式,轉完 .NET 後再轉 WebAssembly ,會唔會有效能上的 ... [/quote]
好難淘汰 .net java, 反而 webassembly 令佢哋 應用更加廣泛, 受影響最大係 js
form5 2018-2-10 13:45
[quote]原帖由 [i]fitcat07[/i] 於 2018-2-10 10:26 AM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=475112943&ptid=27237709][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
Web development 終於進化到勉強可以易於畀人寫嘅階段:
html/javascript : machine code
jquery/current frameworks : assembly
web assembly: high level languages (maybe COBOL/Fortran, not yet Pascal/C) ... [/quote]
最近期的Weex ui好似幾好
Susan﹏汪汪 2018-2-10 14:05
[quote]原帖由 [i]form5[/i] 於 2018-2-10 01:24 PM 發表 [url=http://www.discuss.com.hk/redirect.php?goto=findpost&pid=475120317&ptid=27237709][img]http://www.discuss.com.hk/images/common/back.gif[/img][/url]
提醒各位,最好吾好用 mobile 試, 毎次行,會download 幾MB dll 到local 行,而且都幾慢
最好用最新vs2017 行一行,其中一個 proj 會快少少 [/quote]
汪汪用iPhone X試、效能應該唔會係問題
問題係佢停左係loading冇郁過
form5 2018-2-10 15:52
[quote]原帖由 [i]Susan﹏汪汪[/i] 於 2018-2-10 02:05 PM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=475121989&ptid=27237709][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
汪汪用iPhone X試、效能應該唔會係問題
問題係佢停左係loading冇郁過 [/quote]
我部Mac book , 2 秒開到, 部dell desktop 1秒開到, iPhoneX 原來 咁慢
Susan﹏汪汪 2018-2-10 16:12
[quote]原帖由 [i]form5[/i] 於 2018-2-10 03:52 PM 發表 [url=http://www.discuss.com.hk/redirect.php?goto=findpost&pid=475126232&ptid=27237709][img]http://www.discuss.com.hk/images/common/back.gif[/img][/url]
我部Mac book , 2 秒開到, 部dell desktop 1秒開到, iPhoneX 原來 咁慢 [/quote]
唔係慢、而係直頭冇郁過
Logs
[code]
[Error] WASM: trying binaryen method: native-wasm
(匿名函數) (mono.js:1:33559)
全域代碼 (mono.js:1:182673)
[Error] WASM: asynchronously preparing wasm
doNativeWasm (mono.js:1:30559)
(匿名函數) (mono.js:1:33641)
全域代碼 (mono.js:1:182673)
[Error] WASM: binaryen method succeeded.
(匿名函數) (mono.js:1:34147)
全域代碼 (mono.js:1:182673)
[Error] Unhandled Promise Rejection: Error: abort() at jsStackTrace@[url=https://blazor-demo.github.io/_framework/Mono/dist/wasm/mono.js:1:18355]https://blazor-demo.github.io/_framework/Mono/dist/wasm/mono.js:1:18355[/url]
stackTrace@[url=https://blazor-demo.github.io/_framework/Mono/dist/wasm/mono.js:1:18529]https://blazor-demo.github.io/_framework/Mono/dist/wasm/mono.js:1:18529[/url]
abort@[url=https://blazor-demo.github.io/_framework/Mono/dist/wasm/mono.js:1:198271]https://blazor-demo.github.io/_framework/Mono/dist/wasm/mono.js:1:198271[/url]
_abort@[url=https://blazor-demo.github.io/_framework/Mono/dist/wasm/mono.js:1:129894]https://blazor-demo.github.io/_framework/Mono/dist/wasm/mono.js:1:129894[/url]
wasm function@[wasm code]
wasm function: 5970@[wasm code]
wasm function: 5972@[wasm code]
wasm function: 5061@[wasm code]
wasm function: 5062@[wasm code]
wasm function: 723@[wasm code]
wasm function: 12@[wasm code]
wasm function@[wasm code]
_mono_wasm_assembly_load@[native code]
[url=https://blazor-demo.github.io/_framework/Mono/dist/wasm/mono.js:1:185149]https://blazor-demo.github.io/_framework/Mono/dist/wasm/mono.js:1:185149[/url]
findMethod@[url=https://blazor-demo.github.io/_framework/Blazor.Host.min.js:1:6561]https://blazor-demo.github.io/_framework/Blazor.Host.min.js:1:6561[/url]
invokeSimpleStatic@[url=https://blazor-demo.github.io/_framework/Blazor.Host.min.js:1:7541]https://blazor-demo.github.io/_framework/Blazor.Host.min.js:1:7541[/url]
[url=https://blazor-demo.github.io/_framework/Blazor.Host.min.js:1:2588]https://blazor-demo.github.io/_framework/Blazor.Host.min.js:1:2588[/url]
r@[url=https://blazor-demo.github.io/_framework/Blazor.Host.min.js:1:3757]https://blazor-demo.github.io/_framework/Blazor.Host.min.js:1:3757[/url]
i@[url=https://blazor-demo.github.io/_framework/Blazor.Host.min.js:1:2834]https://blazor-demo.github.io/_framework/Blazor.Host.min.js:1:2834[/url]
promiseReactionJob@[native code]
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
(匿名函數) (Blazor.Host.min.js:1:4212)
promiseReactionJob[/code]
Susan﹏汪汪 2018-2-10 16:16
[quote]原帖由 [i]Susan﹏汪汪[/i] 於 2018-2-10 04:12 PM 發表 [url=http://www.discuss.com.hk/redirect.php?goto=findpost&pid=475126983&ptid=27237709][img]http://www.discuss.com.hk/images/common/back.gif[/img][/url]
唔係慢、而係直頭冇郁過
Logs
[Error] WASM: trying binaryen method: native-wasm
(匿名函數) (mono.js:1:33559)
全域代碼 (mono.js:1:182673)
[Error] WASM: asynchronously preparing wasm
doNativeWasm ... [/quote]
2.15MB、610毫秒
Out of bounds memory access
[[i] 本帖最後由 Susan﹏汪汪 於 2018-2-10 04:23 PM 編輯 [/i]]
煙民母親生賤種
*** 作者被禁止或刪除 內容自動屏蔽 ***
煙民母親生賤種
*** 作者被禁止或刪除 內容自動屏蔽 ***
form5 2018-2-11 00:32
[quote]原帖由 [i]煙民母親生賤種[/i] 於 2018-2-10 11:54 PM 發表 [url=http://computer.discuss.com.hk/redirect.php?goto=findpost&pid=475148280&ptid=27237709][img]http://computer.discuss.com.hk/images/common/back.gif[/img][/url]
win10 + ff , 都係 loading, 等左 30 秒先有個 page 睇 :fst_004:
用手機反而幾秒就得 :fst_012:
7891738 [/quote]
換ssd hard disk試試, 吾使一秒 load 完 :lol
form5 2018-4-9 23:16
ios 11.3 fixed
ios 11.2.x will NOT work
Apple regressed WebAssembly in iOS 11.2 due to Spectre/Meltdown mitigation. It affects all Emscripten builds. It's fixed in iOS 11.3.
Susan﹏汪汪 2018-4-9 23:30
[quote]原帖由 [i]form5[/i] 於 2018-4-9 11:16 PM 發表 [url=http://www.discuss.com.hk/redirect.php?goto=findpost&pid=478268005&ptid=27237709][img]http://www.discuss.com.hk/images/common/back.gif[/img][/url]
ios 11.3?fixed
ios 11.2.x will NOT work
Apple regressed WebAssembly in iOS 11.2 due to Spectre/Meltdown mitigation. It affects all Emscripten builds. It's fixed in iOS 11.3. [/quote]
用iPad 行速度唔錯
反應太好、唔似網頁咁
[[i] 本帖最後由 Susan﹏汪汪 於 2018-4-10 12:00 AM 編輯 [/i]]
頁:
[1]