flat assembler
Message board for the users of flat assembler.

Index > High Level Languages > Why C++ programs are so big?

Goto page Previous  1, 2
Author
Thread Post new topic Reply to topic
guignol



Joined: 06 Dec 2008
Posts: 759
guignol
rugxulo wrote:
And it takes effort to simplify things.
leave the effort to an AI
Post 13 Apr 2021, 21:38
View user's profile Send private message Reply with quote
MarcoV



Joined: 28 Apr 2019
Posts: 6
MarcoV
vivik wrote:

>Free Pascal
how good is it? Probably doesn't support SEH?


It does for 64-bit since version 3.0.0 or even earlier(2015), and 32-bit since 3.2.0 (2020)

The reason for the difference is afaik that on 64-bit calling SEH code broke if the calling code didn't, so it was a must. Also when the original 32-bit exception code was written (1999 or thereabouts) the patents on table driven exceptions were still active.
Post 30 Sep 2021, 20:23
View user's profile Send private message Reply with quote
bitRAKE



Joined: 21 Jul 2003
Posts: 3302
Location: vpcmipstrm
bitRAKE
I've been seeing:
Code:
push byte 0xXX
pop reg    
... for size optimized code, so there is hope that compiler writers will take these things more serious.

_________________
¯\(°_o)/¯ unlicense.org
Post 01 Oct 2021, 00:04
View user's profile Send private message Visit poster's website Reply with quote
AsmGuru62



Joined: 28 Jan 2004
Posts: 1426
Location: Toronto, Canada
AsmGuru62
I just coded a very small utility (using C++ classes of course) in Visual Studio 2019 -- 11Kb (in Release build). I used /NODEFAULTLIB, but I had to code some string functions myself.
Post 09 Oct 2021, 23:48
View user's profile Send private message Send e-mail Reply with quote
Furs



Joined: 04 Mar 2016
Posts: 1638
Furs
Yeah, not using the standard library is the way to go.
Post 10 Oct 2021, 13:08
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page Previous  1, 2

< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.