|
Malcolm XML posted:java before JIT/hotspot was slow as poo poo though this is kind of true, but at the same time people were very happily using things like perl that were just as slow and have never gotten any faster, and being slow as poo poo never seemed to hold python or ruby back it just turned into a huge deal in the single case of java, and hung around as a prejudice long after it stopped being remotely true i have legit seen people write cpu-limited stuff in python because they want more safety than c++ can provide and they think java is too slow to bother with
|
# ? Jun 16, 2015 19:17 |
|
|
# ? May 27, 2024 03:48 |
|
java applets are still slow to start up though
|
# ? Jun 16, 2015 19:31 |
|
I think thats because slow languages like ruby and perl aren't really used in the interactive UI space, whereas Java was. most people's complaints around Java's slowness tend to base that on Applet and UI performance (i.e. Eclipse).
|
# ? Jun 16, 2015 20:05 |
|
nah i've seen plenty of interactive in-house stuff using poo poo like perl/tk and tkinter. they're slower than java. i'll give you the applet thing though, no idea why anyone would ever use an applet
|
# ? Jun 16, 2015 20:18 |
|
startup speed is disproportionately important in people's impressions of something's performance, and JVM startup has always been terrible.
|
# ? Jun 16, 2015 20:25 |
|
i guess that's true as well god though i'm trying to fix up a tkinter app right now (don't ask, don't ask, don't ask) and it's hell on wheels figuring out where the problems are without anything like jvisualvm. and it's still going to be slow as gently caress even when i've done everything i can, even pushing some of the cpu-bound stuff out into a c extension module.
|
# ? Jun 17, 2015 00:21 |
|
here's a funny programmer joke for y'all python concurrency
|
# ? Jun 17, 2015 00:24 |
|
Soricidus posted:here's a funny programmer joke for y'all
|
# ? Jun 17, 2015 00:27 |
|
see, lots of things that are bad with various languages i can see why they've done it. null, optional semicolons, [] being linked lists, etc etc, even the weak, dynamic and completely hosed type system of php but python is the one language which seems to intentionally make things worse. they honestly seem to double down on bad decisions more than any other mainstream language the two that i can think of off the top of my head are removing TCO, and the global interpreter lock that never seems to go away. didn't guide say that he didn't like list comprehensions and wanted to take them out or something? gonadic io fucked around with this message at 00:32 on Jun 17, 2015 |
# ? Jun 17, 2015 00:29 |
|
gonadic io posted:didn't guide say that he didn't like list comprehensions and wanted to take them out or something? If I recall that was the stuff from a functional lib (map, filter, etc.) which could be better served by list comprehensions.
|
# ? Jun 17, 2015 01:13 |
|
Soricidus posted:i guess that's true as well atleast it only has 1 thread to debug
|
# ? Jun 17, 2015 01:15 |
|
Soricidus posted:here's a funny programmer joke for y'all dont really like gross-out humor
|
# ? Jun 17, 2015 01:22 |
|
Valeyard posted:atleast it only has 1 thread to debug lol
|
# ? Jun 17, 2015 01:22 |
|
startup time doesn't really matter for services though because the poo poo's running all the time. (right?)
|
# ? Jun 17, 2015 01:40 |
|
i guess it matters a little more with containers / clouds and the rise of microservices
|
# ? Jun 17, 2015 02:20 |
|
fleshweasel posted:startup time doesn't really matter for services though because the poo poo's running all the time. (right?) for literally everything except php, yes.
|
# ? Jun 17, 2015 08:56 |
|
Valeyard posted:atleast it only has 1 thread to debug it has multiple processes fml
|
# ? Jun 17, 2015 09:42 |
|
gonadic io posted:didn't guide say that he didn't like list comprehensions and wanted to take them out or something? pretty sure it's the opposite, he loves them and hates map/reduce/filter GIL is funny though and so is no TCO because it is 'unpythonic'
|
# ? Jun 17, 2015 17:20 |
|
Ploft-shell crab posted:pretty sure it's the opposite, he loves them and hates map/reduce/filter yeah my mistake
|
# ? Jun 17, 2015 17:33 |
|
i've been using c# properly for the first time ever, after months of working on sql bullshit. i'm kinda loving it. linq is the bees balls. having conversations about using linq to interact with lync is the bees sexual suicide.
|
# ? Jun 17, 2015 18:34 |
|
maybe i'm stupid but how would tco be unpythonic when it's basically an implementation optimization?
|
# ? Jun 17, 2015 18:43 |
|
efficiency is unpythonic
|
# ? Jun 17, 2015 18:45 |
|
rrrrrrrrrrrt posted:maybe i'm stupid but how would tco be unpythonic when it's basically an implementation optimization? behind-the-scenes implementation-dependent optimizations are unpythonic because they make code that works suddenly stop working when the implementation changes* * does not apply to behind-the-scenes implementation-dependent optimizations that guido likes
|
# ? Jun 17, 2015 18:50 |
|
unpythonic is a weird way of saying "good" or "correct"
|
# ? Jun 17, 2015 18:50 |
|
rrrrrrrrrrrt posted:maybe i'm stupid but how would tco be unpythonic when it's basically an implementation optimization? encourages styles of programming that he doesn't like
|
# ? Jun 17, 2015 18:57 |
|
what is the best way to concatenate a bunch of javascript libs together. grunt? gulp? yeoman? browserify? hand rolled makefile? piping the files into a big one? folding them with haskell?
|
# ? Jun 17, 2015 21:01 |
|
|
|
# ? Jun 17, 2015 21:04 |
|
pram posted:what is the best way to concatenate a bunch of javascript libs together. grunt? gulp? yeoman? browserify? hand rolled makefile? piping the files into a big one? folding them with haskell? the best way is to remove the disk from rthe compurer and hit it repeatedly with a sledgehammer until all the files are stuck together op
|
# ? Jun 17, 2015 21:06 |
|
pram posted:what is the best way to concatenate a bunch of javascript libs together. grunt? gulp? yeoman? browserify? hand rolled makefile? piping the files into a big one? folding them with haskell? the answer is probably just piping all the files into a big one
|
# ? Jun 17, 2015 21:08 |
|
the disk is soldered into the motherboard
|
# ? Jun 17, 2015 21:08 |
|
try out RequireJS and let us know how it works because i want to know too
|
# ? Jun 17, 2015 21:09 |
|
youd think bower could handle something like this? it must be a common thing wtf. ill look at requirejs
|
# ? Jun 17, 2015 21:12 |
|
oh it does in fact do what im describing http://requirejs.org/docs/optimization.html#onejs
|
# ? Jun 17, 2015 21:16 |
|
Valeyard posted:try out RequireJS and let us know how it works because i want to know too it works but it makes all of your code more confusing
|
# ? Jun 17, 2015 21:17 |
|
MALE SHOEGAZE posted:it works but it makes all of your code more confusing
|
# ? Jun 17, 2015 21:33 |
|
how come c apis are so hard http://wayland.freedesktop.org/docs/html/apb.html i just want to move some windows around
|
# ? Jun 17, 2015 21:49 |
|
because manual resource management sucks
|
# ? Jun 17, 2015 22:35 |
|
MALE SHOEGAZE posted:how come c apis are so hard hi i'm a c api, please give me three void pointers, and their lengths. i will fill one of them with data and read from the other two. if any of the lengths are wrong, or any of the data uninitialised, or the wrong type pre-casting, you're absolutely hosed.
|
# ? Jun 17, 2015 23:20 |
|
gonadic io posted:hi i'm a c api, please give me three void pointers, and their lengths. i will fill one of them with data and read from the other two. if any of the lengths are wrong, or any of the data uninitialised, or the wrong type pre-casting, you're absolutely hosed. also i hope you remember which one is which because i didnt bother to name the parameters anything sensible and even if i did you cant annotate it at the call site so lol!!!
|
# ? Jun 17, 2015 23:24 |
|
|
# ? May 27, 2024 03:48 |
|
gonadic io posted:hi i'm a c api, please give me three void pointers, and their lengths. i will fill one of them with data and read from the other two. if any of the lengths are wrong, or any of the data uninitialised, or the wrong type pre-casting, you're absolutely hosed. you forgot the function pointers for the callbacks
|
# ? Jun 17, 2015 23:26 |