|
Soricidus posted:Programming: "my code will surely be more efficient if i work closer to the metal. what's a good style guide for C++?" " I'd like to code something that doesn't need a virtual machine or interpreter but not in C." I do find it odd we have basically two mature options. Rust looks promising.
|
# ? Apr 2, 2014 21:01 |
|
|
# ? Jun 8, 2024 06:58 |
|
2banks1swap.avi posted:" I'd like to code something that doesn't need a virtual machine or interpreter but not in C." fortran
|
# ? Apr 2, 2014 21:12 |
|
Lol wow there are Fortran GUI libraries
|
# ? Apr 2, 2014 21:18 |
|
C, C++, the various assembly languages, Haskell, Pascal, COBOL, Rust, Ada, D, Fortran, Julia, Go, Common Lisp, can all produce native code
|
# ? Apr 2, 2014 21:20 |
|
what language doesnt have an llvm compiler these days
|
# ? Apr 2, 2014 21:22 |
|
python?
|
# ? Apr 2, 2014 21:49 |
http://msdn.microsoft.com/en-us/windows/dn632015 http://try.buildwinjs.com/default.aspx#listview WinJS. It's full of win!
|
|
# ? Apr 2, 2014 22:19 |
|
double sulk posted:http://msdn.microsoft.com/en-us/windows/dn632015
|
# ? Apr 2, 2014 23:27 |
|
accept that javascript is just going to be a part of everything really it's not that bad. I mean at least it's being actively improved in the right direction html/css is a decent way of displaying content
|
# ? Apr 3, 2014 00:30 |
|
2banks1swap.avi posted:Lol wow there are Fortran GUI libraries lol the newest fortran versions (like 2003) are so embarrassing to read about fortran 90 supremacy
|
# ? Apr 3, 2014 00:34 |
|
2banks1swap.avi posted:" I'd like to code something that doesn't need a virtual machine or interpreter but not in C." starting a normal project in c or c++ is just kinda masturbatory these days frankly, and i say this as someone who likes doing it myself
|
# ? Apr 3, 2014 01:34 |
|
MeruFM posted:really it's not that bad. yes it is.
|
# ? Apr 3, 2014 02:34 |
|
the only "not that bad" thing about javascript is you can sorta use better languages that compile to it
|
# ? Apr 3, 2014 02:40 |
|
double sulk posted:http://msdn.microsoft.com/en-us/windows/dn632015 the only reason they announced this today is because it would be dismissed as an obvious internet rear end in a top hat day joke yesterday
|
# ? Apr 3, 2014 03:16 |
|
double sulk posted:http://msdn.microsoft.com/en-us/windows/dn632015 this is weird cause its not quite mvvm.
|
# ? Apr 3, 2014 03:55 |
|
Soricidus posted:this is already probably a premature optimisation though, unless you're working in a resource-constrained environment, or actually writing the vms themselves idk GUI apps probably still need to be written in native code because of that whole "embarassing pause" thing Android really suffers against iOS because it has to run a garbage-collecting VM on a device where memory is tight.
|
# ? Apr 3, 2014 11:19 |
|
i'm not going to defend android, but gui apps on good computers are fine without native code. i use and maintain several guis written in java and python and they don't suffer from embarrassing pauses. the only time anyone ever complained about performance, it turned out they were running my java app over remote x11. obviously running it locally fixed everything. gc doesn't even enter the picture as a cause of complaints for normal programs.
|
# ? Apr 3, 2014 19:12 |
|
Soricidus posted:i'm not going to defend android, but gui apps on good computers are fine without native code. i use and maintain several guis written in java and python and they don't suffer from embarrassing pauses. here is the one weird trick to ui goodness: don't do work on the ui thread python guis are bad and horrible java guis are bad and horrible just fire up an embedded webserver/html host if u must, or use xaml/cocoa
|
# ? Apr 3, 2014 19:40 |
|
Can we expect that easy fix to events now shaggar?
|
# ? Apr 3, 2014 19:45 |
|
idk? Im not responsible for c#. if I was thered be checked exceptions and other stuff, but I wouldn't be surprised at all if the event pattern changes again in 5.0 cause they've gone thru 3 or 4 official patterns in the last 2 years.
|
# ? Apr 3, 2014 20:11 |
|
Malcolm XML posted:here is the one weird trick to ui goodness: don't do work on the ui thread
|
# ? Apr 3, 2014 20:20 |
|
Shaggar posted:idk? Im not responsible for c#. if I was thered be checked exceptions and other stuff, but I wouldn't be surprised at all if the event pattern changes again in 5.0 cause they've gone thru 3 or 4 official patterns in the last 2 years. They open sourced Roslyn
|
# ? Apr 3, 2014 20:46 |
|
idk who that is
|
# ? Apr 3, 2014 20:47 |
|
Shaggar posted:idk who that is Roslyn
|
# ? Apr 3, 2014 20:48 |
|
its under an apache license too cool coffeetable fucked around with this message at 20:55 on Apr 3, 2014 |
# ? Apr 3, 2014 20:52 |
|
that's cool I guess.
|
# ? Apr 3, 2014 20:59 |
|
Soricidus posted:maybe this mattered once but javascript and lovely web guis have lowered people's expectations so far that they'll think basically any desktop gui is amazingly slick web workers goddamnit
|
# ? Apr 3, 2014 21:18 |
|
Malcolm XML posted:here is the one weird trick to ui goodness: don't do work on the ui thread desktop and mobile os'es need to have a timer that SIGKILLs the process if the UI thread blocks for more than 16 msec
|
# ? Apr 3, 2014 21:44 |
|
but instead desktop and mobile operating systems recognize and work around common forms of heap corruption
|
# ? Apr 3, 2014 21:58 |
|
seriously i know developers love to sperg about ui responsiveness but real world users don't give a gently caress if their program takes a second to react after they click on the "process butts" icon, they probably need a moment to decide what to do next anyway features first, worry about optimisations like worker threads later
|
# ? Apr 3, 2014 23:09 |
|
I love it when Awful.app stalls the UI thread while fetching something from the Internet, it makes for a great end user experience when I realize that I tapped the wrong thing or have already lost interest and I can't swipe backwards
|
# ? Apr 3, 2014 23:18 |
|
Soricidus posted:seriously i know developers love to sperg about ui responsiveness but real world users don't give a gently caress if their program takes a second to react after they click on the "process butts" icon, they probably need a moment to decide what to do next anyway crowbaring multithreading into something designed to be single-threaded is absolute misery
|
# ? Apr 3, 2014 23:20 |
|
pseudorandom name posted:I love it when Awful.app stalls the UI thread while fetching something from the Internet, it makes for a great end user experience when I realize that I tapped the wrong thing or have already lost interest and I can't swipe backwards awful.app is really something awful
|
# ? Apr 3, 2014 23:20 |
|
Soricidus posted:seriously i know developers love to sperg about ui responsiveness but real world users don't give a gently caress if their program takes a second to react after they click on the "process butts" icon, they probably need a moment to decide what to do next anyway lol lol lol never work on anything ever
|
# ? Apr 3, 2014 23:35 |
|
Mr Dog posted:desktop and mobile os'es need to have a timer that SIGKILLs the process if the UI thread blocks for more than 16 msec There's an X protocol for that. This is why X is the superior display technology.
|
# ? Apr 3, 2014 23:42 |
|
Soricidus posted:seriously i know developers love to sperg about ui responsiveness but real world users don't give a gently caress if their program takes a second to react after they click on the "process butts" icon, they probably need a moment to decide what to do next anyway When a user is consistently exposed to latency their brain actually edits out the latency (true story). Their perception of time gets skewed, ever see someone "just check their email" on their phone and stare motionless into it for 30s, this is why. If you are advocating software that causes brain damage you might as well go the whole hog and just stab people in the eyes with an ice pick.
|
# ? Apr 3, 2014 23:45 |
|
pseudorandom name posted:I love it when Awful.app stalls the UI thread while fetching something from the Internet, it makes for a great end user experience when I realize that I tapped the wrong thing or have already lost interest and I can't swipe backwards yep
|
# ? Apr 4, 2014 00:42 |
|
Soricidus posted:seriously i know developers love to sperg about ui responsiveness but real world users don't give a gently caress if their program takes a second to react after they click on the "process butts" icon, they probably need a moment to decide what to do next anyway im the billions of cycles it needs 'a moment to decide' in
|
# ? Apr 4, 2014 00:43 |
|
Soricidus posted:seriously i know developers love to sperg about ui responsiveness but real world users don't give a gently caress if their program takes a second to react after they click on the "process butts" icon, they probably need a moment to decide what to do next anyway one of the most wrongest opinions in this thread
|
# ? Apr 4, 2014 01:17 |
|
|
# ? Jun 8, 2024 06:58 |
|
i'm glad it was already called out but i couldn't help myself not
|
# ? Apr 4, 2014 01:18 |