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

How am I supposed to write programs in 10 kilobytes?

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: 32
Thread images: 9

File: 1496029960214.jpg (332KB, 550x746px) Image search: [Google]
1496029960214.jpg
332KB, 550x746px
How am I supposed to write programs in 10 kilobytes?
>>
Basic in the ROM.
Assembly-language.
Forth.
>>
>>60784236
Bankswitching, scrub.
>>
File: 1496537005770.jpg (7KB, 219x230px) Image search: [Google]
1496537005770.jpg
7KB, 219x230px
>>60784259
how to get I ento these things. Where do I learn them?
>>
>>60784236
Don't bother, the future is now, and it dictates 300MB of javascript bundled with a browser.
>>
>>60785380
GOOGLE IT FFS
>>
>>60784236
Does that computer slip you roofies and rape you?
>>
File: 1495674221917.png (49KB, 185x213px) Image search: [Google]
1495674221917.png
49KB, 185x213px
>>60785439
No computers like that are too expensive for me
>>
Try not being a fucking moron who writes everything in Sublime Text 3 and runs everything with a 100 MB runtime interpreter.
>>
File: 1496680056771.png (42KB, 500x322px) Image search: [Google]
1496680056771.png
42KB, 500x322px
>>60785473
can I get visual studio on one?
>>
>>60785380
Buy some microprocessor (pic32 is not bad, just don't start on Arduino) and follow some beginner projects online.
>>
If you want to learn basic, pick up a cheap old computer but not the TI. Basic is obscenely slow.
>>
>>60784236
>assembler program: 8.5KB
>java program: 375MB
Don't be a pajeet.
>>
File: 1495957786631.jpg (34KB, 500x457px) Image search: [Google]
1495957786631.jpg
34KB, 500x457px
>>60786640
I need something fast and 8.5KB
>>
File: jobstimemagazine.jpg (29KB, 456x390px) Image search: [Google]
jobstimemagazine.jpg
29KB, 456x390px
please
>>
>>60788025
Wtf are you trying to do you mongoloid?
>>
>>60784236
Try Gentoo, it can reduce 10GB program to 10KB.
>>
>>60788413
>Try Gentoo, it can reduce a 10GB program to a 10KB one that won't run.
Fixed.
>>
You don't, programs < 10MB are simply a myth. How are gonna include those very useful standard library functions and sophisticated built-in object types without MEGABYTES worth of bloat.
>>
File: 1495934740925.png (94KB, 634x697px) Image search: [Google]
1495934740925.png
94KB, 634x697px
>>60788626
then how did they do it in the 80s
>>
>>60789151
They put data on the screen as a tertiary disk (HDD, floppy)
>>
>>60784236
you can do shit pretty small in C (tcc has really small output, loads of antivirus programs hate it though because it produces unusually small binaries and they use that as a heuristic)

hell, I'm using sdcc to write a game, my binary with graphics is sub-16kB (too lazy to see how much is filled, the resulting rom is rounded up to the nearest 16k boundary, up to 48kB max)
if you don't want bloat, don't link in huge-fuck libraries (eg, if you're using C++, shit like iostream will link in a big 1MB blob last time I checked)

if you're talking about using the TI, don't -- pick a machine that actually gave a damn about third-party development, TI tried its damndest to cut that shit out
>>
>>60785380
Learn MIPS. You don'tneed to buy hardware. You can fuck around in this emulator called qtSpim.
>>
>>60785473
Can we stop shitting on Sublime Text please. It's the next thing after vim/emacs/ed that isn't bloat. IIRC it is around 18 megs or so, which is VERY lightweight compared to Atom or Visual Studio Code or whatever. Also it runs smoother. Just pirate it or something if your are poor, or learn to live with the purchase nag. Notepad++ is comparable but it is not polished enough. I honestly don't know any other code editor comparable to Sublime Text.
>>
>>60788626
This is bullshit, most Linux commands including GCC take less than 10MB.
>>
>>60784236
Atari 2600 had 128 bytes of memory
>>
File: 1496631461257.jpg (25KB, 641x530px) Image search: [Google]
1496631461257.jpg
25KB, 641x530px
>>60789787
how do I do it?
>>
text based with text graphics
>>
File: images.jpg (9KB, 300x168px) Image search: [Google]
images.jpg
9KB, 300x168px
>>60790165
How far can the text go?
>>
>>60789680
Vim. What do you need that it can't do and why?
>>
>>60792176
$ MPlayer -vo caca
>>
>>60789787
Because it's programs where on ROM.
You can run programs without any writable memory.
But to have nice screen updates, it had some RAM.
Thread posts: 32
Thread images: 9


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