|
Athas posted:There is something wrong with both PHP and Javascript, but there is nothing wrong with code generation. you're supposed to generate a garbage lang from a good lang, not a garbage lang from another garbage lang
|
# ? Feb 2, 2017 17:21 |
|
|
# ? Jun 4, 2024 19:30 |
|
That's why I write all my C with python
|
# ? Feb 2, 2017 18:31 |
|
AggressivelyStupid posted:That's why I write all my C with python hm you have this backwards I think
|
# ? Feb 2, 2017 20:17 |
|
Going to need a better name than poop.html JavaScript -> Node.js -> C++
|
# ? Feb 3, 2017 01:52 |
|
MrMoo posted:Going to need a better name than poop.html disagree
|
# ? Feb 3, 2017 20:42 |
|
poop.html is my middle name
|
# ? Feb 3, 2017 20:48 |
|
Moreleth posted:poop.html is my middle name man i wish mine is poop.js
|
# ? Feb 3, 2017 22:50 |
|
I used poop.js when wrapping the C++ API in JavaScript, then it went crash crash so I had to stay in C++. I even made a new diagram for the last update. Anyone want to "redesign" the NYSE floor screens and produce the wonderful HTML garbage for it? MrMoo fucked around with this message at 02:13 on Feb 4, 2017 |
# ? Feb 4, 2017 01:33 |
|
rob pike has opinions on computer architecture : https://talks.golang.org/2016/asm.slide#1
|
# ? Feb 10, 2017 02:00 |
|
fritz posted:rob pike has opinions on computer architecture : https://talks.golang.org/2016/asm.slide#1 haven't looked but guessing theyre really dumb and never left the 80s
|
# ? Feb 10, 2017 02:20 |
|
Arcsech posted:haven't looked but guessing theyre really dumb and never left the 80s 'all computer architecture is basically the same'
|
# ? Feb 10, 2017 02:45 |
|
Arcsech posted:haven't looked but guessing theyre really dumb and never left the 80s looks rly dumb but it's a new dumb I think? he invented a new universal assembly language so you don't have to learn manufacturer specific asm syntax. it doesn't sound like your program becomes portable because the universal syntax isn't universal enough to actually hide all processor/abi details. also unclear to me whether it might not actually behave more like a macro assembler in practice, i.e. no guarantee one loc doesn't expand to multiple machine instructions, but don't quote me on that because i closed the browser tab before completing the slide deck to save my sanity in summary he is boldly blazing a new trail into the uncanny valley between asm and high level languages which nobody ever asked for because lol it's loving pointless. hopefully no one will ever walk with him on this path.
|
# ? Feb 10, 2017 02:45 |
|
BobHoward posted:he invented a new universal assembly language so you don't have to learn manufacturer specific asm syntax. you mean like c?
|
# ? Feb 10, 2017 02:48 |
|
Arcsech posted:you mean like
|
# ? Feb 10, 2017 02:48 |
|
asm.js
|
# ? Feb 10, 2017 03:21 |
|
lol types. seriously
|
# ? Feb 10, 2017 03:22 |
|
think i might vomit how'd they go decades without running across TAC
|
# ? Feb 10, 2017 03:40 |
|
Arcsech posted:you mean like
|
# ? Feb 10, 2017 03:56 |
|
in plan9, they made new assemblers by forking an existing assembler and replacing the old hand-written code with new hand-written code this amazing new assembler decides at runtime which bunch of hand-written code to use, instead of being divergent source bases. also it's written in go and uses yet another bespoke assembly syntax that's heavy on pseudo-instructions. maybe one day in the future it will use tables of instructions instead of hand-writing everything the end
|
# ? Feb 10, 2017 03:58 |
|
it does the Go thing where there's zero recognition of anything ever done in the space prior, is there a reason they're so diligent in their ignorance/dismissal? this quote too: quote:One Go program replaces many C/Yacc programs, so it's easier to maintain. and "assemblies are all equivalent lol we're geniuses" bro do you even cohere memory
|
# ? Feb 10, 2017 04:34 |
|
its almost like go is designed by idiots for the exclusive use of other idiots
|
# ? Feb 10, 2017 04:42 |
|
indeed appears to be a halfbaked reinvention of llvm ir more than anything
|
# ? Feb 10, 2017 08:11 |
|
man I posted that poo poo in here ages ago and no one took the bait let me track down the talk because you miss out on how loving chuffed he is at his poorly reinvented wheel e: nvm it's in the slides DONT THREAD ON ME fucked around with this message at 08:17 on Feb 10, 2017 |
# ? Feb 10, 2017 08:14 |
|
personally i was transfixed by his jacket which is basicaly how hollywood said we would dress in the future
|
# ? Feb 10, 2017 08:16 |
|
That assembler stuff is nowhere near the dumbest Rob Pike thing (although this is a high bar) . It looks like an OK approach if you want to support a lot of platforms and can accept lowest common denominator code quality. Also you must be afraid of third party dependencies.
|
# ? Feb 10, 2017 18:39 |
|
maybe the impressive thing here is Rob Pike implemented a platform-independent magical optimizing IR compiler, and he's just poo poo as always at noticing what's interesting in computer scienceGazpacho posted:personally i was transfixed by his jacket which is basicaly how hollywood said we would dress in the future that man's closet must be glorious, the thumbnail of every talk he's given has its own jacket
|
# ? Feb 10, 2017 19:56 |
|
has he implemented it though? the slides are just pie in the sky stuff
|
# ? Feb 11, 2017 00:09 |
|
i looked into Go again. maybe it's not as bad as i earlier thought? why did i reject it again?quote:* Go supports the nil pointer. This is similar to C's void *, an enormous source of bugs. Since nil can represent any type, it completely subverts the type system. oh yeah.
|
# ? Feb 15, 2017 05:45 |
|
You didn't prove the addition can't overflow anyway.
|
# ? Feb 15, 2017 07:49 |
|
nil isn't really void *. you have interface{} for that. also basically every mainstream language with wide adoption has null pervasively in their type system instead of correctly using sum types, but yah you can tell if a newlang is dumb if they repeat this mistake again
|
# ? Feb 15, 2017 10:51 |
|
comedyblissoption posted:nil isn't really void *. you have interface{} for that. i mean if you want to say "real languages don't use return values and if statements, you map a functor over an option monad to process the value" you should come out and say that
|
# ? Feb 15, 2017 15:45 |
|
comedyblissoption posted:also basically every mainstream language with wide adoption has null pervasively in their type system instead of correctly using sum types *
|
# ? Feb 15, 2017 16:15 |
|
don't use node if you do use node, don't use mongo if you do you node and mongo, definitely do not ever use mongoose
|
# ? Feb 15, 2017 17:16 |
|
optionals are nice because ! is like yelling at the compiler
|
# ? Feb 15, 2017 17:57 |
|
Arcsech posted:don't use node never heard of mongoose, but if you're already using node and mongo it probably can't get much worse, can it? i've been told i should try being more optimistic and this is my attempt
|
# ? Feb 15, 2017 19:11 |
Deep Dish Fuckfest posted:it probably can't get much worse, can it? lol new thread title
|
|
# ? Feb 15, 2017 19:49 |
|
Deep Dish Fuckfest posted:never heard of mongoose, but if you're already using node and mongo it probably can't get much worse, can it? mongoose is a javascript orm for mongo it is exactly as dumb as you would expect if you know anything at all about mongo and javascript
|
# ? Feb 15, 2017 23:43 |
|
ask me about about chasing performance bugs for a week and a half only to find mongoose is spending approximately 1000x as long constructing objects as it is querying mongo and parsing the json combined
|
# ? Feb 15, 2017 23:45 |
|
mongo is not a relational database and javascript is not really an object oriented language so why do you need an object-relational mapper at all like i thought that was the whole point of mongo, it's so easy to get started because you just store your whole "document" ie blob of useless json
|
# ? Feb 15, 2017 23:45 |
|
|
# ? Jun 4, 2024 19:30 |
|
here is my js mongo orm:code:
|
# ? Feb 15, 2017 23:48 |