[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 | Free Show | Home]

Imagine how fast computers would be if we wrote everything in assembly

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: 36
Thread images: 5

File: 1487787527532.png (6KB, 645x773px) Image search: [Google]
1487787527532.png
6KB, 645x773px
Imagine how fast computers would be if we wrote everything in assembly
>>
>>59620420
it would all be buggy as fuck

we would have maybe 1/1000 of the software we have today because it would take so long to write and no one would want to do it

and it wouldn't necessarily be faster in all cases
>>
>>59620420
Computers are fast enough to not write in assembly.
>>
Yeah, imagine how fucking great everything would be if we had a billion pajeets using assembly instead of java.
>>
>>59620420
is there a solid book or something to learn assembly?
>>
Do it, faggot!
>>
>>59620420
That doesn't automatically makes it fast.
>>
>>59620420
Go write some assembly then, numbnuts. I'm willing to bet compilers will still beat you because they can automatically use advanced instruction sets.
>>
File: 1482283534233.jpg (47KB, 960x733px) Image search: [Google]
1482283534233.jpg
47KB, 960x733px
>>59620420
The current compilers designed by German autists will beat pajeets and NEETS 99% of the time.
>>
>>59620420
Programming languages were a mistake, we should write everything in machine code.
FeelsBadMan.
>>
>>59620637
Please no.
>>
File: 1482364981737.jpg (72KB, 668x712px) Image search: [Google]
1482364981737.jpg
72KB, 668x712px
>>59620420
>tfw having to write assembly for every CPU architecture
>>
>>59620420
KolibriOS
>>
it wont be fast? also jit > preassembled
>>
>>59620637
When you put it that way..
>>
>>59621538
>also jit > preassembled
Sure, if by JIT you mean AOT to-go compilers instead of tracing "we-couldn't-bother-to-create-proper-semantics-oh-look-a-jit" garbage.
>>
>>59620420
Imagine how secure computers would be if they all had tagged memory and hardware bounds checking.
>>
>>59621538
>jit > preassembled
>java pajeets will convince themselves that this is true while waiting 3 mins for eclipse to open
>>
assembly is only suited for things like cpu emulation these days
>>
File: re-020.jpg (6KB, 159x185px) Image search: [Google]
re-020.jpg
6KB, 159x185px
>>59620420
Image how fast the internet will be when everyone uses WASM.
>>
>>59622084
Imagine how much more bloat devs will attempt to upload once everyone uses WASM
>>
>>59622084
No one is going to use WASM, retard.
>>
>>59622110
im going to use wasm
>>
File: re-028.jpg (34KB, 420x547px) Image search: [Google]
re-028.jpg
34KB, 420x547px
>>59622110
>No one is going to use WASM, retard.
Sounds like someone needs some time in the Zen Garden.

https://mzl.la/webassemblydemo

Balance your chi nigga.
>>
>>59620420
It’s not all about writing in assembly or any other language: it’s also mainly about finding the right algorithm. An excellent algorithm written in Java or C# can be way faster than regular algorithms written in assembly.
I saw some people working with me trying to re-write in assembly some functions because their C++ version weren’t fast enough. They eventually gave up because the compiled version optimized by the compiler was shittons faster than their hand-crafted assembly code, even though their algorithm was already quite good.

Plus, assembly is hella hard to maintain compared to regular programming languages, so –as said above– everything would be completely buggy.
>>
>>59622434
By the way, I’m not saying assembly is useless or anything. But it does not fit the general case when it comes to programming, and in case of optimization you have to be really good, otherwise you’ll make trash instead.
>>
>>59620453
Thank god. Only 1/10000 of the software is actually worth a damn to use the rest is literal shit
>>
>>59622110
You are the goy who hates CSS too?
>>
>>59622249
>105MBs

Oh yeah WASSM will catch on with such bloat.
>>
>>59620420
assembly doesn't automatically make things faster.
You can skip some safety checks and make some things fast, but compared to a compiled language, you are not likely to consistently make things faster than a compiler, at least not if you want to spend much time solving problems.
>>
>>59622249
reminds me of waiting on 3+MB flash games to load on dialup

won't let me post this
https://p.fuwafuwa.moe/axbnms.webm
>>
>>59620420
rewriting the linux kernel in assembly would be a good start
>>
imagine how good life would be if we were all bacteria
>>
Write everything in c/c++, then we have portable, readable, easy to write code only 1 level above asm. Also some of the code can be in asm.
>>
>>59620420
Depends on how good the average assembly programmer is. Most probably things would be slower as optimizing compilers are a thing and they're made by people that are much better at writing assembly code than 90% of programmers.
>>
>>59621513
>Implying more than 5% of all code is actually run on every architecture when you exclude webdev crap written in languages like JavaScript and PHP
Thread posts: 36
Thread images: 5


[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]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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 RandomArchive shows their content, archived.
If you need information for a Poster - contact them.