In which language is TC written??
Moderators: Hacker, petermad, Stefan2, white
In which language is TC written??
Sir,
If u have written the program code for TC in C++,if possible
rewrite the entire code in C#4 since it's the latest version having
more features than c++ and TC will be much stable and bug free.
And which version of Visual studio did u used??
Krushna
If u have written the program code for TC in C++,if possible
rewrite the entire code in C#4 since it's the latest version having
more features than c++ and TC will be much stable and bug free.
And which version of Visual studio did u used??
Krushna
- ghisler(Author)
- Site Admin
- Posts: 50385
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Because efficiency and performance are not among primary concerns in these languages.VSB wrote:Why?
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- theosdikaios
- Senior Member
- Posts: 228
- Joined: 2006-02-04, 13:02 UTC
Oh shiiiiiiitheosdikaios wrote:2Egh
Maybe you're wrong. TC uses handmadeunicode.


As for D2 it is still insane though. You may have no need in VCL unicode support natively and stuff, however the golden standard of Delphi before 2009 (i.e. Embarcadero era) was Delphi7, not Delphi2. I started my career of a professional coder on Delphi5 and it was waaaaaaai back in the past

Still I would recommend to use Delphi2010, it is pretty stable with all the updates, and majorly compatible with pre-unicode releases, actually.
- theosdikaios
- Senior Member
- Posts: 228
- Joined: 2006-02-04, 13:02 UTC
And here.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
Using TC 11.03 / Win10 x64
Using TC 11.03 / Win10 x64
- ghisler(Author)
- Site Admin
- Posts: 50385
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Yes, I've been using Delphi 2 with handmade Unicode support, but I'm currently porting to Lazarus/Free Pascal which has Unicode controls based on UTF-8. I have already ported all my Unicode controls to Lazarus, it was quite easy. Now I'm changing OLE2 code to Lazarus (Delphi 2 works quite differently here).
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- Balderstrom
- Power Member
- Posts: 2148
- Joined: 2005-10-11, 10:10 UTC
Lazarus_Faq#Why_are_the_generated_binaries_so_big.3F
It's also important to note that the hello world lazarus software already includes a huge amount of features. It includes:So it's very big, but it already includes almost everything a real world non-trivial app will need.
- XML handling library
- Image handling library for png, xpm, bmp and ico files
- Almost all widgets from the Lazarus Component Library
- All of the Free Pascal Runtime Library
Well, let's hope its size really won't grow if additional components are added.
BTW I prefer clever linkers that remove unused stuff from output executable, especially if such thing can reduce file size from 1.4 MB to 0.4 MB...
I really don't understand how hello world application can use XML, image libraries and all untouched functions from runtime library. Also we don't need unused wigets and their methods since forms are not in resource section so can't be modified by resource editor in contrast to Delphi where we can easilly add controls to forms and call their unused methods (just 'cause that are included into executable code by linker even when unused in original executable).
Just found an interesting graph under specified link... They say that code generated by C++ compiler is larger than code generated by their compiler for complex projects...
Yes, their hello world app's size grows only when code and resources are added while normal C++ application's code grows when new methods and functions are used too. But C++ executable starts with much smaller size, and good C++ compiler will never include same method twice, so for complex projects it will include a lot of functions almost like Lazarus app (BTW less than Lazarus anyway since it is almost impossible to use all methods of all components) so C++ executable will have smaller size anyway. Also good C++ compilers have great optimizators that reduces size significantly. 
BTW I prefer clever linkers that remove unused stuff from output executable, especially if such thing can reduce file size from 1.4 MB to 0.4 MB...
I really don't understand how hello world application can use XML, image libraries and all untouched functions from runtime library. Also we don't need unused wigets and their methods since forms are not in resource section so can't be modified by resource editor in contrast to Delphi where we can easilly add controls to forms and call their unused methods (just 'cause that are included into executable code by linker even when unused in original executable).
Just found an interesting graph under specified link... They say that code generated by C++ compiler is larger than code generated by their compiler for complex projects...


However, 1.4MB is not much of the concern here. In fact, 2010 unicode Delphi applications are typically around 1mb in size. My latest program about 800-900 lines of code (and only default linked units) was 1mb in size.
UTF8 in my opinion is not a good choice for components etc. Much better solution is two-byte everywhere, pretty much what Embarcadero uses since 2009. There "string" may be both normal ANSI and Unicode, depending on the switch, and that makes conversion almost transparent.
UTF8 in my opinion is not a good choice for components etc. Much better solution is two-byte everywhere, pretty much what Embarcadero uses since 2009. There "string" may be both normal ANSI and Unicode, depending on the switch, and that makes conversion almost transparent.