Visit site DelphiTools

February 2012

9
votes
Vote UpVote

Meanwhile, in the DWScript SVN…

DelphiTools – This summary of recent DWS changes is coming a bit late, and there is quite a bit to cover. Here is a quick, partial roundup of what changed since the last update. Language changes: Initial support for overloads (currently limited to standalone functions/procedures). New operator “sar” ...
Details Favorite? Off-Topic? Eric @ 2012-02-02 11:30

January 2012

10
votes
Vote UpVote

What do you think of functions overloads?

DelphiTools – In Delphi, you can overload functions, but doing so requires using the overload directive explicitly, f.i. the following code declares two functions with the same name, one that will be invoked if you pass an integer, another that will be invoked you pass a string: function MyFunc(a : Integer) : ...
Details Favorite? Off-Topic? Eric @ 2012-01-26 07:32
7
votes
Vote UpVote

Closures in DWScript / OP4JS

DelphiTools – Closures, also known as “anonymous methods” in Delphi, are now supported by DWScript for the JavaScript CodeGen, with the same syntax as in Delphi: myObject.MyEvent := procedure (Sender : TObject); begin ... end; There are of ...
Details Favorite? Off-Topic? Eric @ 2012-01-21 15:31
4
votes
Vote UpVote

SOPA blackout day

DelphiTools – Great SOPA blackout page from Wikipedia, being one the top worldwide site, this should generate more awareness than any other! Wikipedia's SOPA blackout page I usually avoid posting non-technical stuff, let SOPA be the exception that confirms the rule! As for a description of the problems of SOPA, ...
Details Favorite? Off-Topic? Eric @ 2012-01-18 08:13
9
votes
Vote UpVote

Good Practices for JavaScript “asm” sections in DWS/OP4JS

DelphiTools – The compiler supports writing “asm” aka JavaScript section in the middle of Object Pascal, there are a few good practices as well as tips to keep in mind, let’s review the menu: Name conflicts and obfuscation support Do you really need an “asm” section? Don’t ...
Details Favorite? Off-Topic? Eric @ 2012-01-16 07:57
7
votes
Vote UpVote

OP4JS: “How do I…”

DelphiTools – Jon Lennart Aasenden just posted on G+ several links to new “How do I” entries in the OP4JS Documentation: Working with controls, the boxing model Using the TW3HttpRequest object Add a new form to my application Create and use a timer object Rotate a control by X degrees Plot pixels on ...
Details Favorite? Off-Topic? Eric @ 2012-01-06 14:41
0
votes
Vote UpVote

DelphiTools.info relocated

DelphiTools – The DelphiTools.info website has just been relocated, it also transitioned from a Linux host to a Windows one. There were a few glitches with WordPress during the transfer, but they should hopefully have been solved, if not, feel free to post about them here!
Details Favorite? Off-Topic? Eric @ 2012-01-04 14:17

December 2011

15
votes
Vote UpVote

SynEdit performance bragging rights?

DelphiTools – Committed another round of speedups in the SynEdit SVN, and AFAICT SynEdit is now amongst the fastest text and highlighting editors out there! To benchmark it yourself, if you don’t have a large text file hanging around, you can make a “meaningful” one easily: just go to ...
Details Favorite? Off-Topic? Eric @ 2011-12-29 06:56
11
votes
Vote UpVote

Christmas present for SynEdit users

DelphiTools – Just committed to the SynEdit SVN a few enhancements: much improved performance for long & large files, still not quite notepad++-class just yet, but my profiler tells me there are many juicy low-hanging candies left improvements to the TSynGeneralSyn highlighter (single & double quote ...
Details Favorite? Off-Topic? Eric @ 2011-12-26 14:47
11
votes
Vote UpVote

DWS news + OP4JS aka SmartMobileStudio

DelphiTools – A quick news roundup before Christmas. OP4JS Alpha aka SmartMobileStudio is in the wild Jørn Einar Angeltveit  -  Dec 21, 2011  -  Public We’ve now sent “Smart Mobile Studio” Alpha version to 50 testers. Did you miss the beta invite? Visit www.SmartMobileStudio.com to participate. ...
Details Favorite? Off-Topic? Eric @ 2011-12-23 09:01
4
votes
Vote UpVote

Zero-based Strings?

DelphiTools – In a now infamous and enormous thread I won’t name, Allen Bauer dropped a bomb: <bomb>Oh, and strings may become immutable and 0-based …</bomb> Currently Oxygene has zero-based strings, I was considering it for DWScript too, but the backward-compatibility implications are a ...
Details Favorite? Off-Topic? Eric @ 2011-12-15 10:42
11
votes
Vote UpVote

Pimp your random numbers with XorShift!

DelphiTools – A 64bit XorShift is now used to generate random numbers in DWScript, and there is a now a separate random number generator per-execution, which is auto-randomized when an execution is created. Previously, the RTL random generator was used, this was “okay” when you had only one script ...
Details Favorite? Off-Topic? Eric @ 2011-12-13 09:07
7
votes
Vote UpVote

DWS news roundup

DelphiTools – Here is a quick summary of recent additions to DWScript: exit, break and continue are now reserved keyword (and highlighted as such), previously they weren’t (as in Delphi), but having variables or functions named that way just “breaks” (pun intended) those language features (as ...
Details Favorite? Off-Topic? Eric @ 2011-12-03 09:10

November 2011

16
votes
Vote UpVote

Fixing TCriticalSection

DelphiTools – TCriticalSection (along with TMonitor) suffers from a severe design flaw in which entering/leaving different TCriticalSection instances can end up serializing your threads, and the whole can even end up performing worse than if your threads had been serialized. This is because it’s a small, ...
Details Favorite? Off-Topic? Eric @ 2011-11-30 14:18
4
votes
Vote UpVote

Compile-time evaluations, ‘&’ prefix, internal changes

DelphiTools – Here is a summary of recent changes for DWScript in the SVN: support for compile-time evaluation of constant records and static arrays. support for the ‘&’ escape prefix to allow using reserved words as identifiers. fledgling math extensions (TComplex, TVector & TMatrix), ...
Details Favorite? Off-Topic? Eric @ 2011-11-17 11:02
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Delphi Tage Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)