|
Malcolm XML posted:it's a halfassed solution which requires an entirely new infrastructure to run /quickly/ not gonna pretend to know how its implemented but this js vm guy seems to think "the implementation cost should be small compared to the potential upside" https://code.google.com/p/v8/issues/detail?id=2599 also lol native client did some poster really suggest that was a better solution than this?
|
# ? Mar 29, 2013 04:10 |
|
|
# ? Jun 11, 2024 14:14 |
monocqc what are your opinions on go, considering the whole concurrency movement going on + its being obsessed with on hn
|
|
# ? Mar 29, 2013 04:10 |
|
Malcolm XML posted:it's a halfassed solution which requires an entirely new infrastructure to run /quickly/ just wait computers will catch up
|
# ? Mar 29, 2013 04:34 |
|
gucci void main posted:monocqc what are your opinions on go, considering the whole concurrency movement going on + its being obsessed with on hn I have never tried it myself, so most of my opinions will be borrowed from people I know who tried it and commented on it. Go seems like one of these incremental languages that is not revolutionary, but tries to improve on some tried-and-true ideas. It does some very nifty things, like optimizing some cases for compiling speed, allowing automated code clean up, etc. It tries to deal with some of the social issues related to programming, which not enough languages try to do IMO. Then it makes some very weird decisions that seem to be made to help language implementers rather than programmers. Funny take on exceptions and generics, very, very weird GC (on 32 bits, it confuses pointers with integers, also this). Also Go seems nice to go solve some lower-level things, and it allows shared data and uses synchronous semantics across channels. The Erlang programmer in me screams "this is folly!" as memory should be isolated and asynchronous is the one true way to deal with concurrency errors (though you can easily make sync processes async with queues and async ones sync with acks), but I am not surprised to see people do awesome stuff with it. Channels also have very nice properties that are fun to work with in general. I don't know. I guess I see it as a concurrency-oriented C spinoff, rather than a true concurrency-oriented language. I'm more interested to see how Rust does for lower level stuff. Again, I haven't ever programmed go, so my opinion isn't worth much on it.
|
# ? Mar 29, 2013 04:35 |
|
gucci void main posted:monocqc what are your opinions on go, considering the whole concurrency movement going on + its being obsessed with on hn go is literally a cargo cult language it looked at erlang's actor model and hoare's work on csp and thought 'that's cool, let's do that' and proudly advertised itself as a language with lightweight processes and message passing completely missing the fact that the actor model and csp are a cost you pay to buy the benefits of isolated processes go just skipped the isolated processes part
|
# ? Mar 29, 2013 04:58 |
|
tef posted:hey see all those programs people are porting to js, wouldn't it be nice if the output js from cross compiling it was idiomatic, so a vm could do nice things and get better performance 2.1.7 intish Even though JavaScript only supports floating-point arithmetic, most operations can simulate integer arithmetic by coercing their result to an integer. For example, adding two integers may overflow beyond the 32-bit range, but coercing the result back to an integer produces the same 32-bit integer as integer addition in, say, C. The intish type represents the result of a JavaScript integer operation that must be coerced back to an integer with an explicit coercion (ToInt32 for signed integers and ToUint32 for unsigned integers). Validation requires all intish values to be immediately passed to an operator or standard library that performs the appropriate coercion or else dropped via an expression statement. This way, each integer operation can be compiled directly to machine operations. The one operator that does not support this approach is multiplication. (Multiplying two large integers can result in a large enough double that some lower bits of precision are lost.) So asm.js does not support applying the multiplication operator to integer operands. Instead, the proposed Math.imul function is recommended as the proper means of implementing integer multiplication. yes this is the right technological foundation for a new cross-platform vm
|
# ? Mar 29, 2013 05:00 |
|
Mr Dog posted:this is the latest poo poo Mozilla are pushing in their JAVASCRIPT IN ALL OF THE THINGS crusade sure let's just ship llvm in our browsers. and i guess a filesystem. oh and a posix subsystem. gently caress it let's just embed linux in firefox/chrome
|
# ? Mar 29, 2013 05:01 |
|
the talent deficit posted:sure let's just ship llvm in our browsers. and i guess a filesystem. oh and a posix subsystem. gently caress it let's just embed linux in firefox/chrome congratulations, you've reinvented nacl
|
# ? Mar 29, 2013 05:03 |
|
here's a better implementation of asm.js: 1. Implementation It is recommented that the proper means of implementing asm.js is the proposed Math.jvm("url-to-library.jar") function. there, all done
|
# ? Mar 29, 2013 05:09 |
|
Linux doesn't have any decent console based programs to connect to a wireless network. So I made one. Although I cheated and it uses iwlist and wpa_supplicant. Still, it does all the heavy lifting and now connecting via wireless in a terminal doesn't suck balls! Technically it's a api that uses the Message Queue to send a struct over to a small html server I made, but with the debug flag turned on I can use it as a console app. I should probably pretty it up and throw it up on github one of these days. FlapYoJacks fucked around with this message at 05:35 on Mar 29, 2013 |
# ? Mar 29, 2013 05:30 |
|
ratbert90 posted:Linux doesn't have any decent console based programs yes we know
|
# ? Mar 29, 2013 05:37 |
|
Malcolm XML posted:it's a halfassed solution which requires an entirely new infrastructure to run /quickly/ yes, in the case of say unreal engine 3, running it on a non-accelerated engine is going to likely be too slow. however there are tons of classes of apps that are already being built with emscripten that would still remain usable while degraded. basically anything in the utilities section in https://github.com/kripken/emscripten/wiki runs fantastic on current browsers. ex anything on http://repl.it with my highly scientific benchmark of [x**2 for x in range(10000)] computes pretty much instantly here. just ignore mozilla's whole angle of playing up UE3 for the mobile web, but that's irrelevant, because nobody cares about firefox os, and you can already run UE3 on android and ios, the only mobile platforms that matter. switching away from js in the browser is nothing but a pipe dream/nightmare? of shaggars everywhere. something like asm.js however gets it within striking distance of native which is Good Enough for many uses, and doesn't land us in horrible nacl land where nobody can run it and nobody wants to use it.
|
# ? Mar 29, 2013 05:39 |
|
Suspicious Dish posted:yes we know Now that's just incorrect and you know it.
|
# ? Mar 29, 2013 06:05 |
|
ratbert90 posted:Now that's just incorrect and you know it. uh i work for red hat i think i know what i'm talking about when it comes to this linux stuff
|
# ? Mar 29, 2013 06:06 |
|
Suspicious Dish posted:uh i work for red hat i think i know what i'm talking about when it comes to this linux stuff Obviously not. You work for Red Hat.
|
# ? Mar 29, 2013 06:07 |
|
ratbert90 posted:Obviously not. You work for Red Hat. oh ok thx!
|
# ? Mar 29, 2013 06:08 |
|
You're welcome. :v
|
# ? Mar 29, 2013 06:08 |
|
MononcQc posted:Again, I haven't ever programmed go, so my opinion isn't worth much on it. If you go into it expecting C with more reasonable syntax and an immature compiler, plus some basic threading primitives, you'll be happy. It's a decent replacement for Python in cases where eval() isn't needed, and not quite as mind-numbingly verbose as Java. The interface concept is nice. But make no mistake, it's a very very conservative language. Writing in Go feels like stepping through a wormhole into the '80s. There's no real type inference[1], no type parameters, no re-exporting imported symbols, no typed enums, and no encapsulation (!!) except at the file/package level. It's obvious that the core developers think C89 was the absolute pinnacle of language design. [1] Variable assignments use the equivalent of C++'s "auto" keyword.
|
# ? Mar 29, 2013 06:49 |
|
are there a bunch of dyslexic programmers? verbosity isn't an actual problem for anything except possibly a serialization format. java has a fuckton of high quality libraries so its the best. the end, no need to discuss further. any other consideration is worthless undergraduate dribble compared to making someone else do the real work programmers with actual problems to solve and not just databases to skin are permitted to use other languages. if you haven't received your suspenders and pipe yet please check with nancy in purchasing
|
# ? Mar 29, 2013 07:24 |
|
Nomnom Cookie posted:are there a bunch of dyslexic programmers? verbosity isn't an actual problem for anything except possibly a serialization format. java has a fuckton of high quality libraries so its the best. the end, no need to discuss further. any other consideration is worthless undergraduate dribble compared to making someone else do the real work Right. Clearly there aren't a fuckton of high quality libraries for ANY other languages. Lol gtfo you lovely planger.
|
# ? Mar 29, 2013 07:40 |
|
ratbert90 posted:Right. Clearly there aren't a fuckton of high quality libraries for ANY other languages. Lol gtfo you lovely planger. not really, no. theres stupid bullshit resume projects and web frameworks and thats about it. also you have no idea what a p-langer is
|
# ? Mar 29, 2013 07:54 |
|
Nomnom Cookie posted:not really, no. theres stupid bullshit resume projects and web frameworks and thats about it. also you have no idea what a p-langer is If you think any one language is "the best" you haven't coded enough. I dog on Java not because its inherently a bad language (it isnt.). Its because of stupid fuckers who claim "its the best.". PS. A planger is somebody who doesn't know how computers work.
|
# ? Mar 29, 2013 07:58 |
|
ratbert90 posted:If you think any one language is "the best" you haven't coded enough. I dog on Java not because its inherently a bad language (it isnt.). Its because of stupid fuckers who claim "its the best.". nope a p-langer is someone who uses a p-lang i.e. burp and fart programming language and java is the best end of story. the only use cases for non-java are so small they're properly called edge cases
|
# ? Mar 29, 2013 08:04 |
|
mods, please close and gas this terrible thread thanks in advance ! : )
|
# ? Mar 29, 2013 08:05 |
|
Nomnom Cookie posted:nope a p-langer is someone who uses a p-lang i.e. burp and fart programming language Hence why planger is somebody who doesn't know how computers work. Thanks for proving me right I guess. Enjoy coding Java in your IDE that was coded in c/c++ on your is that was coded in c/c++ on your browser that was coded in c/c++ etc etc... Its almost like languages are tools! Next you are going to say one OS > Other OS! FlapYoJacks fucked around with this message at 08:21 on Mar 29, 2013 |
# ? Mar 29, 2013 08:19 |
|
ratbert90 posted:Hence why planger is somebody who doesn't know how computers work. Thanks for proving me right I guess. intellij and eclipse are both written in java. fly away troll
|
# ? Mar 29, 2013 08:22 |
|
ratbert90 posted:Oh look at me, i'm python, I have to be formatted properly to work? Is your tabs wrong? Can't write lovely looking code that looks like this? lol
|
# ? Mar 29, 2013 08:23 |
|
tef posted:the entire point is that a) people are using llvm to compile things to js (emscriptem), and to make it easier for the existing vms to go 'oh I see what you're doing' life is a series of hacks atop hacks, and look at how much of a mess that is
|
# ? Mar 29, 2013 12:15 |
|
Progress is using double the RAM to complete a task as it took last year.
|
# ? Mar 29, 2013 13:07 |
|
ratbert90 posted:Hence why planger is somebody who doesn't know how computers work. Thanks for proving me right I guess. productive-languages are also for people who know how computers work but don't want to be arrogant about it
|
# ? Mar 29, 2013 13:39 |
|
Suspicious Dish posted:uh i work for red hat i think i know what i'm talking about when it comes to this linux stuff is the first step to solving any issues still echo 0 > /selinux/enforce
|
# ? Mar 29, 2013 14:03 |
|
hobbesmaster posted:is the first step to solving any issues still echo 0 > /selinux/enforce echo 0 > /dev/sda
|
# ? Mar 29, 2013 14:06 |
|
java and c# are the best and ftw.
|
# ? Mar 29, 2013 14:12 |
|
Nomnom Cookie posted:are there a bunch of dyslexic programmers? verbosity isn't an actual problem for anything except possibly a serialization format. nope
|
# ? Mar 29, 2013 14:19 |
|
ratbert90 posted:Right. Clearly there aren't a fuckton of high quality libraries for ANY other languages. Lol gtfo you lovely planger. right. java has the best libraries of any language and c#s are pretty good and then every other language is a wasteland of poo poo
|
# ? Mar 29, 2013 14:20 |
|
I mean I guess perl has lots of libs, but idk if i'd call them good. also you'd have to be using perl, soooooooo
|
# ? Mar 29, 2013 14:20 |
|
Cocoa Crispies posted:echo 0 > /dev/sda everyone knows to use /dev/urandom
|
# ? Mar 29, 2013 14:22 |
|
ratbert90 posted:Hence why planger is somebody who doesn't know how computers work. Thanks for proving me right I guess. jesus christ gtfo
|
# ? Mar 29, 2013 14:35 |
gas
|
|
# ? Mar 29, 2013 14:46 |
|
|
# ? Jun 11, 2024 14:14 |
|
Zombywuf posted:Progress is using double the RAM to complete a task as it took last year. Displaying a lovely blog post: html -> html + js -> perl -> php -> php + js -> php + js + mysql for every single thing Sounds about right.
|
# ? Mar 29, 2013 14:47 |