DelphiTools

DWS, Profiler and other Pascal tools

Menu
Skip to content
  • Home
  • Sampling Profiler
    • Overview
    • Changelog & Downloads
    • Tips & News
    • Mini-Guide
  • Dev Tools
    • MapFileStats – Delphi MAP file statistics
    • ZJDBGPack
  • DWScript
    • Overview
    • Tips & News
    • DWScript at BitBucket
    • DWScript Downloads
    • Showcase
  • Android
    • glInfo for Android OpenGL info
    • Départements Français
    • Nickel Iron
  • iOS
    • Nickel Iron
  • HTML5
    • L-System Fiddle
    • Nickel Iron
    • WarTrail
  • Links

Ideas

Pascalish-looking generics poll

24 comments
November 21, 2012 in Ideas.

Now for a bit of hypothetical polling! thinking on the generics/templates syntax, one can’t quite shake the feeling Delphi got the C#/C++ generics/templates syntax. The  < and > can’t be read out loud, and just look like an out of place reuse of the comparison symbols.

(more…)

Mutant records: on methods (and helpers)

8 comments
May 7, 2012 in Ideas.

When “record with methods” were introduced, an important feature was overlooked: mutability.

This article discusses the problem, and introduces a possible syntax extension to solve it. Ideas & comments welcome!

(more…)

Old School Maze Pascal to JavaScript

1 comment
March 13, 2012 in Ideas.

Zarko Gajic recently reposted Kostas Symeonidis’s Maze, this is an old code (2004) that generates a random maze using Prim’s algorithm and solves it.

(more…)

What do you use for String localization in Delphi?

20 comments
February 15, 2012 in Ideas.

Delphi an an ITE for localization (of which I’m not a fan), we’ve been using something very similar to gnu gettext where I work (and I like it), what other String or screen localization tools have you been using and recommending?

You can vote for multiple options, and suggest new ones in the comments!

(more…)

What do you think of function overloads?

27 comments
January 26, 2012 in Ideas.

In Delphi, you can overload functions, but doing so requires using the overload directive explicitly.

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:

(more…)

Zero-based Strings indexes?

7 comments
December 15, 2011 in Ideas.

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>

(more…)

Taming the flock with Object Pascal

9 comments
September 28, 2011 in Ideas.

And now for a more interactive demo than last time, this is a full-screen HTML5 Canvas interactive demo with the source in Object Pascal, compiled to JavaScript by the DWScript JS CodeGen.

Click below to see it in action and hit F11.

(more…)

How would you name TObject’s ancestor class?

50 comments
June 23, 2011 in Ideas.

I’m looking for a good name for a “TObject ancestor” class, that would introduce no Pascal baggage: no “Create”, no “Destroy”, no “Free”, etc.
TObject would become a subclass of that root class.

(more…)

Poll: dynamic arrays as reference or value type?

13 comments
June 15, 2011 in Ideas.

Here is a small poll to help me decide in which direction to go about dynamic arrays in DWScript. The poll is at the bottom of the post, to encourage reading before voting 😉

(more…)

Poll: Templates or Generics?

6 comments
April 15, 2011 in Ideas.

I’m wondering about this question in the context of scripting.

The poll itself is at the bottom, of this post, so you’re encouraged to read the arguments and relevant comments first 😉

(more…)

Post navigation

← Older posts
Newer posts →

Archives

Smart Mobile Studio

Smart Programmer

BeginEnd.net

Torry's

DelphiPages

Tags

asm beginend Bottleneck cefHtmlSnapshot Command Compiler CPU Debug Delphi Download DWS DWScript FastMM FireMonkey Fractals FreePascal Generics GLScene Hash IDE JavaScript JIT Mandelbrot MAP MapFileStats Multithreading OP4JS Optimization Performance Poll Profiler Real-time RTTI Site SmartMS String SynEdit Templates TIOBE Tips TMonitor Tools Unicode WebServer WordPress

Meta

  • Site Admin
  • Entries / Comments RSS
  • WordPress.org
  • Cookie Policy