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

helloworld.exe (153.51 MB)

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: 81
Thread images: 18

File: vomit-chan.jpg (82KB, 680x680px) Image search: [Google]
vomit-chan.jpg
82KB, 680x680px
helloworld.exe (153.51 MB)
>>
File: .png (124KB, 435x867px) Image search: [Google]
.png
124KB, 435x867px
welcome to the electron/node-webkit world.
>>
Needs room for all those telemetry hooks
>>
File: zWKUJTz.jpg (147KB, 1059x758px) Image search: [Google]
zWKUJTz.jpg
147KB, 1059x758px
Don't worry! Memory is cheap!
>>
calculator.exe
>requires data collection agreement and features telemetry
>>
>>55965558
what's wrong with this?
>>
>>55965612
What's ok with this?
>>
>>55966361
I have nothing to hide
>>
>>55965470
That reminds me of the first time I compiled hello world from a tutorial and it was 4.2MB. I freaked out and figured I had done something wrong as I expected more like a 4.2KB binary.

Good times.
>>
>>55965558
It still works without an MS account.
>>
>>55967172
what the shit how
>>
>>55967083
Kek, missing the point
>>
why does the checksum change each time i re-compile my code?
>>
>>55967083
>This bait again
>>
>>55967381
Heh, I remember I freaked out the first time I noticed this, I was sure that the checksum would be the same

Turns out the binary format Windows uses saves the compilation time in the binary

Funny, in Linux the checksum of the resulting binary is always the same, another proof that Windows is an insane OS
>>
>>55965558

They need that information to give you the precise value for pi at your specific latitude and longitude.
>>
>>55967083
Take off your khaki, pajeet
>>
File: 1469299700276.jpg (833KB, 1800x2700px) Image search: [Google]
1469299700276.jpg
833KB, 1800x2700px
>>55967083
If that's true, please post your name, SSN, bank account number, PIN for said bank account, date of birth, telephone number, and primary email address.
>>
>>55966361
They need to know usage scenarios to know which features are used frequently and are impontant, and which one are used infrequently or even see so little use they should be removed instead.

There is nothing wrong with collecting metadata.
>>
>>55967767
perhaps there is a 'template' like in .NET which could be stripped and produce the same checksum each time, or am i doomed?
>>
File: 1469505334965.jpg (36KB, 334x400px) Image search: [Google]
1469505334965.jpg
36KB, 334x400px
>>55968533
1) Such data collection, if it is to be done at all, must be optional
2) Even if you trust company X with metadata, that doesn't mean it's secure, or that company X will sell data to company Y which you didn't give permission to
3) The user is usually unaware of what the metadata is
4) Its a fucking calculator

There is everything wrong with collecting vast amounts of metadata for the sake of collecting metadata.
>>
>>55969556
Using a product is always optional.
>>
>>55969601
nothing is optional because the universe is deterministic so any choice you make was always going to happen
>>
File: 1485.gif (4MB, 347x244px) Image search: [Google]
1485.gif
4MB, 347x244px
>hello_world.gb (32kb)
>>
>>55965470
>MB
MiB

>>55967172
>MB
MiB
>KB
KiB

>>55971171
>kb
KiB
>>
>>55965535
That's pretty good.
>>
>>55971171
What's wrong?
>>
File: 0e9.jpg (27KB, 600x600px) Image search: [Google]
0e9.jpg
27KB, 600x600px
>hello_world.py (22b)
>>
>>55967083
>type in "8008" and giggle
>anti-obscenity committee raids my house and takes me to the gulag
im being executed in 3 days
goodbye everybody
>>
>>55968533
...For a calculator?
>>
>>55967172
>>55965470

>C++
Not even once
>>
>>55965508
>he doesn't see the purpose of NW.js/Electron apps
better uninstall your "bloated" webbrowser and start browing /g/ via lynx or curl
>>
>>55971645
if you think 8008 is hot try adding a 5
>>
>>55971626
>hello_world.sh (18b)
>>
>>55971626
>open with dialog pops up
>nothing that looks like a snake is in there
>need to download a 30MB package and dependencies to execute a 22 byte example
such is life as a python artist

>inb4 already have it installed by default
>you can also install the full version of matlab "by default"
>>
File: men-in-black.jpg (622KB, 1920x1080px) Image search: [Google]
men-in-black.jpg
622KB, 1920x1080px
>>55971420
>>
>>55971626
don't forget the 20MB interpreter
>>
The kernel is like 70MB.

Who cares at this point.
>>
>>55971990
BLOATED!!!!
>>
>>55971990
Hello world should not be anywhere near the size of the kernel
>>
File: hello.png (15KB, 426x188px) Image search: [Google]
hello.png
15KB, 426x188px
>>55971671
Hello World in C++ shouldn't need to be big...
This cropped screenshot is larger.
>>
>.exe

Yeah, it'd be like 2MB if your operating system had decent package management and dynamic linking was viable.
>>
File: 1469532281841.jpg (907KB, 850x1201px) Image search: [Google]
1469532281841.jpg
907KB, 850x1201px
>helloworld
>29 bytes
Why haven't you designed your own computer yet?
>>
>>55972129

If you static link libstdc++, the binary's going to be huge. If you're programming for Windows, you HAVE to static link it, or otherwise ship the DLL with the binary.
>>
>>55971823
8013?
>>
>>55971626
>>55971837
>hello_world.txt (13b)
:^)

>>55972129
GCC executables tend to be rather large because of static linking (especially if compiled with debugging information on)
>>
>>55973142
kek
>>
>>55972893
On my computer (64 bit Windows), the standard C++ Hello World is 660 kb with GCC, but using stdio and printf instead of the C++ libraries gets the size down to 15.5 kb (regardless of whether I compile as C or C++). However, the Tiny C Compiler will produce the C Hello World as a 2 kb executable. Any idea why TCC produces such a smaller executable, even though the code is the same? In all cases I'm compiling without debugging or profiling information.
>>
>>55973142
>girl
>>
>>55965558
If you have nothing to Sine, you have nothing to fear.
>>
File: 1468183312128.jpg (38KB, 534x499px) Image search: [Google]
1468183312128.jpg
38KB, 534x499px
>>55973198
That's pretty rude, just because she's flat doesn't mean she's a boy.
>>
>>55973246
There is literally nothing wrong with being a boy.
>>
>>55971801
I'm strongly considering that. I have three extensions just to debloat websites and the browser.
>>
>>55968467
Ironic shitposting is still shitposting, anon.
>>
>>55965612
>what is unneeded software coupling?
>>
>>55973187
I'd assume the compiler is doing some sort of optimization that increases the size of the file. Set the compiler to optimize for size and it will probably beat TCC.
>>
>>55973292
Silly anon, boys don't wear skirts.
>>
>>55969842
Alright tell me how I can measure the velicity and position of an electron at the same time
>>
>>55973334
I don't think so, this happens even when GCC is set to optimize for size. It may have something to do with the version of the library - GCC uses the GNU C library, which has to be statically linked in, as you can't assume everyone running Windows has the GNU C library. Whereas the windows version of TCC apparently uses the Microsoft C library (as every TCC-produced binary has "msvcrt.dll" if you open it in a text editor). So perhaps TCC assumes everyone has that DLL so it can link it dynamically?
>>
>>55973338
He's just scottish.
>>
>>55973372
it's ok dude the universe destined you to be a retard from birth
>>
>>55973372
>MY interpretation of quantum mechanics is the right one
Those are some hot opinions, lad.
>>
File: idksometimes.jpg (717KB, 941x737px) Image search: [Google]
idksometimes.jpg
717KB, 941x737px
>>55973420
>>55973463
wew lads just admit you [spoiler]sprinkle when you tinkle[/spoiler] and move on
>>
File: she discovers anal.jpg (14KB, 188x161px) Image search: [Google]
she discovers anal.jpg
14KB, 188x161px
>haskell
>hello world.hs 31B
>hello world binary 1.13 mB
>>
>>55973517
>meme cat is both alive and dead
Zimbabwe!
>>
>>55968533
it's. a. fucking. calculator.
What could you ever have to improve, and why can't you ask your users if they want to be spied on or not?
>>
File: f3d.png (117KB, 444x440px) Image search: [Google]
f3d.png
117KB, 444x440px
>dependencies: nodejs, npm
>>
>>55973596
Anon please, it's a personal calculation assistant. We aren't using the abacus anymore.
>>
>>55971420
> being this autistic
>>
File: 2016-08-08-001501_724x412_scrot.png (19KB, 724x412px) Image search: [Google]
2016-08-08-001501_724x412_scrot.png
19KB, 724x412px
>>55971990
????
>>
>>55973701
he said the kernel, not bzImage :^)
>>
>>55969601
Yeah, that's why I don't use Microcuck shit.

>>55973307
I don't think you know why ironic or shitposting means. I'm illustrating a point. Everyone has something to hide.
>>
File: 2016-08-08-013514_724x412_scrot.png (14KB, 724x412px) Image search: [Google]
2016-08-08-013514_724x412_scrot.png
14KB, 724x412px
>>55973712
Oh, okay.
>>
>>55969496
Why Microsoft users are willing to do backflips with their software rather than just using something else is an eternal mystery of the universe.
>>
>>55965470
Compiled C++ version, 17kb. 32 bit. Profiled for the hell of it.

g++ -I. -Wall -std=c++14 -DNDEBUG -s -g0 -march=native -O3 -flto -fuse-linker-plugin -ffat-lto-objects -fwhole-program test.cpp -fprofile-generate -o test.exe
g++ -I. -Wall -std=c++14 -DNDEBUG -s -g0 -march=native -O3 -flto -fuse-linker-plugin -ffat-lto-objects -fwhole-program test.cpp -fprofile-use -o test.exe


#include <iostream>

int main () {
std::cout << "Hello World!";
return 0;
}


17kb is more or less the lowest you can go if you use link time optimization / whole program optimization, and don't dynamically link.
>>
>>55965535
Is that the new motto of Chrome?
>>
File: Autism.jpg (41KB, 643x384px) Image search: [Google]
Autism.jpg
41KB, 643x384px
>>55971420
it doesnt really matter m8
>>
>>55971645
Servers you right unperson! unthink double plus ungood!
>>
>>55969601
This is what is known as "bundling" (Moxie Marlinspike's term) aka making a deal with the devil.
>>
>>55974288
He has nothing to hide from Microsoft.*

Okay, done.
>>
>>55976848
No, not done.

See my point in >>55969556
>2) Even if you trust company X with metadata, that doesn't mean it's secure, or that company X will sell data to company Y which you didn't give permission to

It's dangerous to allow companies to collect massive amounts of data and build profiles on their user. No computer system is secure.

The only reason people are ok with this is because it's mostly invisible to them. But when companies know people's kids better than their parents, red flags should be going up.
Thread posts: 81
Thread images: 18


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