[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Click for more| Home]

>not coding your games in asm

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 53
Thread images: 10

>not coding your games in asm
>>
How do I code in assembly?
>>
>>46806206

very carefully
>>
>>46806206
>assembly
He meant asm.js.
>>
>>46806206
You take a clusterfuck of logic and cryptic basic commands and try to do something decent out of it. Also you must have a good understanding of stacks and memory addressing.
>>
>tfw Pinball in Windows XP coded in ASM
>>
>>46806376
>Pinball

>laughing_chris_sawyer.jpg
>>
>>46806286
ayy
>>
>>46806155
I'll be able to program in assembly. One day.

One of these days!
>>
>>46806206

It would be extremely painful
>>
>>46808985
You're a big guy
>I'm not a robot
>>
>>46809057
5 v
>>
>coding anything in ASM willingly
>ever
>>
>>46808985
>it would be extremely painfull

For you!
>>
>>46806155

>Year 4
>14k in the bank

pleb.
>>
>>46809295
My father would charge 3$ for the bathroom.
>>
>>46806286
asm,js is not designed or meant to be written by hand, it's meant to be a compile target for C/C++ compilers.
>>
>>46806155
>asm

Implying that "asm" means anything. You mean x86. ARM and x86 are very different. Don't even get me started on MIPS
>>
>>46810881
obv he means x86 because his screenshot if RCT which was originally coded in asm because the game devs are just that bad ass.
>>
>>46806155
>spending tons of extra time to get a final product that's less maintainable, basically untestable, and has a negligible increase in performance compared to the output of a modern optimizing compiler
But hey, programming is just a pissing contest to show off fun tricks and hacks! That's what /g/ taught me, so it must be true!
>>
MOS Technologies 6502 ASM masterrace.
>>
>>46806206
Primitive gotos, stack frames, and magically breaking down every significant logical comparison into division and setting bits.
>>
With the speed of modern computers, using assembly would be an useless waste of time. Personally, I'd only code very important parts of the OS in assembly, like the CPU scheduler.
>>
>>46806155
sorry im not a god
>>
>>46810901
>has a negligible increase in performance compared to the output of a modern optimizing compiler
For the most part, this hasn't been true for decades.
>>
>not programming with notepad
>>
>>46810944
>not programming on punch cards in binary
>>
>>46810985
>not programming deoxyribonucleic acid
>>
asm is pretty easy to be honest, just tedious to write
>>
>>46806376
This is why this wasn't shipped later. They couldn't port it to x64.
>>
>>46810985
Still better than notepad.
>>
My life goal is to implement a raytracer in asm, just like cock bärs did
>>
File: 985.jpg (71KB, 803x688px) Image search: [iqdb] [SauceNao] [Google]
985.jpg
71KB, 803x688px
>>46809281
>>46809057
>>
>>46808720

Learn MIPS first, it is extremely easy.
>>
>>46810880
Nope. Every programmer wrote assembly in the decades between pure machine code and compilers. It's still used in applications where you absolutely must squeeze every cycle of performance out of hardware. If it wasn't meant to be written by hand it would just be machine code.

>>46806155
Here's a game I made in 8051 ASM back in school:
youtube.com/watch?v=OMP28JZBSlo
>>
>>46811670
Sawyer wrote his games in x86 asm because he was used to doing it in x86 asm, that's just the way things were in the 80s/90s as compilers back then were pretty shit.

asm isn't that hard if you have a decent macro assembler.
>>
File: chris-sawyer.jpg (77KB, 1094x618px) Image search: [iqdb] [SauceNao] [Google]
chris-sawyer.jpg
77KB, 1094x618px
>>46806155

not everyone can be a god like Chris Sawyer
>>
File: 1423301498585.gif (397KB, 720x480px) Image search: [iqdb] [SauceNao] [Google]
1423301498585.gif
397KB, 720x480px
>Look up Chris Sawyer on Google Images
>>
>>46812518

> ;=;
>>
>>46806206
You download the Intel documentation, an assembler like NASM, your OS programming interface and calling conventions documentation and start coding.
>>
Well shit, http://www.chrissawyergames.com/info.htm
look how much of a timetraveling website he has
>>
>>46810920
Except you aim to do the exact opposite, which is to program in a modular way with a high level of abstraction.

Why /g/ keeps getting impressed by OP I will never understand. You probably think the disassembled, highly optimized output from a modern compiler is how you'd actually write things, don't you?
>>
>>46812518
what th--this arouses me
>>
File: 1425263299312.jpg (18KB, 694x530px) Image search: [iqdb] [SauceNao] [Google]
1425263299312.jpg
18KB, 694x530px
>>46812518
>Here is my series of pics with Virgil the andalusian, and Daphne, his owner. \r\n\r\nHm, I think I need to have Daphne introduce a mare to Virgil for a "breeding" follow up. :)
>>
File: cs-Dinomorph.jpg (64KB, 545x725px) Image search: [iqdb] [SauceNao] [Google]
cs-Dinomorph.jpg
64KB, 545x725px
>>46812518
why
>>
File: sawyer.jpg (548KB, 3648x2736px) Image search: [iqdb] [SauceNao] [Google]
sawyer.jpg
548KB, 3648x2736px
>>46812469
>Chris Saywer in 2014

He's the guy in the middle row.

Some guys on /vr/ found him on a trip with .he Roller Coaster Club of Great Britain
>>
>>46812958
>britbongs
>>
>>46812518
wow
never playing rct ever again
>>
File: sawyer.png (837KB, 600x779px) Image search: [iqdb] [SauceNao] [Google]
sawyer.png
837KB, 600x779px
>>46812981
>I want to get off Monster Mansion
>>
File: headache.png (136KB, 250x250px) Image search: [iqdb] [SauceNao] [Google]
headache.png
136KB, 250x250px
>>46812518
Da fuck?
>>
>>46806220
fucking kek'd
>>
File: 1411305330525.jpg (224KB, 863x752px) Image search: [iqdb] [SauceNao] [Google]
1411305330525.jpg
224KB, 863x752px
>>46806155
Assembly is there to tune what you've already written should performance be an issue.
>>
>>46812989
the face of a deviant furry
Thread posts: 53
Thread images: 10


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]
Please support this website by donating Bitcoins to 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
If a post contains copyrighted or illegal content, please click on that post's [Report] button and fill out a post removal request
All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site. This means that 4Archive shows an archive of their content. If you need information for a Poster - contact them.