D could catch this wave: web assembly

Nick Sabalausky via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 23 10:04:36 PDT 2015


On 06/23/2015 12:36 PM, Adam D. Ruppe wrote:
> On Tuesday, 23 June 2015 at 16:18:01 UTC, Nick Sabalausky wrote:
>> Yea, I'll have to take a closer look at that. My first impression is
>> that "Linux VM" sounds very heavy-weight, but I supposed it need not
>> necessarily be.
>
> Well, keep in mind that I want to kill the browser, which is already
> very heavy-weight!
>

Very true. Fair point.

> Firefox is like 80 MB.... http://www.tinycorelinux.net/downloads.html
> that's 9 MB and probably more than the browser VM would need!

ABout 99% of the time, my browser (FF) is soaking up anywhere from 
1-1.5GB of RAM. By far the biggest memory hog on my system (at least 
when I don't have a Windows VM or something running).

Well, there is one other exception though: After switching my main 
desktop to Linux, I found that my favorite editor (Programmer's Notepad 
2) has some issues under Wine, so I've been using a lot of Komodo Edit. 
Unfortunately, among other big annoyances, Komodo seems to have some 
serious memory leak issues because it's ram usage only ever grows, never 
shrinks (not even if I close ALL files), and after only a few days it'll 
hit 1GB+ ram as well, and then start pausing/lagging like crazy. Ugh.

I'm trying Kate now. Actually seems to have grown up from an "MS Notepad 
for KDE" to a fully legitimate code editor since the last time I really 
looked closely at it (back in KDE3 days). Seems quite promising so far.

> The core
> system should be sharable without copying the file every time, and its
> only job is to run one program, providing it a familiar, consistent base
> api. I don't think the weight would be much of a problem, though perhaps
> it might be on the mobile sphere.

If the weight is a problem on mobile, that would unfortunately be a 
deal-breaker. Mobile web is every bit as important as desktop web these 
days, and will likely only grow further.



More information about the Digitalmars-d mailing list