Stories
Slash Boxes
Comments

Dev.SN ♥ developers

posted by janrinok on Saturday March 15 2014, @06:07PM   Printer-friendly
from the we-always-need-new-languages dept.

An anonymous coward writes:

"Mozilla is using work on it's next generation layout engine, Servo, to fine tune a new language used for writing that layout engine. The new language, called Rust, started as a personal project of Greydon Hoare and has since grown to be sponsored by Mozilla and Samsung. From the article:

The Rust language will power Mozilla's new browser, Servo, and its big selling point is efficiency. Because C++ crashes when it runs into memory allocation issues, it weakens any browser that uses the language. Mozilla designed Rust to be superior to C++ this way, more easily isolating tasks and promote a process known as "work stealing," which is when tasks from an overloaded processor are shifted over to another one.

Rust is a general purpose, multi-paradigm, compiled programming language developed by Mozilla Research. It is designed to be a "safe, concurrent, practical language", supporting pure-functional, concurrent-actor, imperative-procedural, and object-oriented styles."

 
This discussion has been archived. No new comments can be posted.
Display Options Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 0) by Angry Jesus on Monday March 17 2014, @12:11PM

    by Angry Jesus (182) on Monday March 17 2014, @12:11PM (#17679)

    > The NS3 engine itself was vastly faster -- which was obvious once NS4 came out

    Everyone knows NS4 was a clusterfuck, which means comparing NS3 to NS4 as a means to say thing about modern firefox is cherry-picking.

    Still, you are missing the point - modern firefox implements orders of magnitude more functionality than NS3. Any comparison of speeds on "complex html" is to beg the question because NS3 can't do complex html. The price for additional functionality is additional memory and cpu.

    > 102.50 MB -- heap-unallocated

    I don't even see heap-unallocated in 27.0.1, are you running an old version of firefox?

    > "less verbose" to "more verbose" consistently uses about 9mb. To display about 30 more lines of text. :(

    I get 2MB difference and when I cut-n-paste the text on the page into wc, regular has 248 lines, verbose has 4,371 lines.

    Starting Score:    1  point
    Moderation   -1  
       Overrated=1, Total=1

    Total Score:   0  
  • (Score: 2) by Reziac on Monday March 17 2014, @12:45PM

    by Reziac (2489) on Monday March 17 2014, @12:45PM (#17688) Homepage

    SeaMonkey v2.5 at the moment. I tend not to upgrade unless I have to, because the next version is invariably worse in some way either annoying or critical. :( I don't use Firefox at all, because it makes me want to kill the developers. (If forced by some cranky site, I'll use PaleMoon, but not for everyday.)

    And verbose wasn't much more in my case, but I had very little going on at that instant.

    See, there's the point I was making -- NS4 was indeed a clusterfuck, yet in its early stages it did very little more than NS3. Just did it massively slower. Sometimes a total code rewrite is NOT a good thing.

    Incidentally, Abrash's old book is now available online (it's been a freebie for years, I think I got it with his Black Book):
    http://www.jagregory.com/abrash-zen-of-asm/ [jagregory.com]

    • (Score: 0) by Angry Jesus on Monday March 17 2014, @01:07PM

      by Angry Jesus (182) on Monday March 17 2014, @01:07PM (#17701)

      See, there's the point I was making -- NS4 was indeed a clusterfuck, yet in its early stages it did very little more than NS3. Just did it massively slower. Sometimes a total code rewrite is NOT a good thing.

      That's odd, I thought your point was that firefox is a pointless memory hog and when required to drill down to the actual reasoning and evidence behind that point, it turned out to be technical innuendo.

      • (Score: 2) by Reziac on Monday March 17 2014, @01:21PM

        by Reziac (2489) on Monday March 17 2014, @01:21PM (#17706) Homepage

        Dunno how you concluded that, but whatever.

        Read Abrash's Black Book, it'll give you some insights.