helloworld.exe (153.51 MB)
welcome to the electron/node-webkit world.
Needs room for all those telemetry hooks
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
>>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?
>>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
>hello_world.gb (32kb)
>>55965470
>MB
MiB
>>55967172
>MB
MiB
>KB
KiB
>>55971171
>kb
KiB
>>55965535
That's pretty good.
>>55971171
What's wrong?
>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"
>>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
>>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.
>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.
>>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.
>>55973420
>>55973463
wew lads just admit you [spoiler]sprinkle when you tinkle[/spoiler] and move on
>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?
>dependencies: nodejs, npm
>>55973596
Anon please, it's a personal calculation assistant. We aren't using the abacus anymore.
>>55971420
> being this autistic
>>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.
>>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?
>>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.