7

Long winded title, short question:

If one wants to develop for Windows but not have to rely on any external dependency (no runtime, thus ruling out .net), what supported, alive and fully functioning* alternatives are there?

Visual Basic 6 is dead, Visual C++ is obvious and Delphi seems to be the prime choice for that, but I wonder if there are any other alternatives?

*as in: Being able to use all the Windows Features like putting an icon in the Notification Area, making the Taskbar Icon flash etc.

Michael Stum
  • 177,530
  • 117
  • 400
  • 535
  • Why should VB6 be considered dead? It still works. – Agnel Kurian Jan 08 '09 at 06:42
  • 1
    It _still_ does, but it is not supported anymore since April 2008 I believe - it could break anytime, and Microsoft may not care to fix it. Also, AFAIK you cannot buy it anymore outside of some funky subscription. – Michael Stum Jan 08 '09 at 17:14

24 Answers24

8

Have a look at this -

http://www.codegear.com/products/delphi

Glynn

Glynn Owen
  • 86
  • 1
3

D using D compiler

Troy Howard
  • 2,612
  • 21
  • 25
2

C (lots of compilers available)

Troy Howard
  • 2,612
  • 21
  • 25
2

eiffel using SmartEiffel*

(*note SmartEiffel interprets eiffel, and generates ANSI C code, which can be compiled with any standard C compiler. It also generates Java byte code.)

Troy Howard
  • 2,612
  • 21
  • 25
1

Ada compiled with gnat

Troy Howard
  • 2,612
  • 21
  • 25
1

C/C++ with Borland, if you don't want to be entirely beholden to MS.

plinth
  • 48,267
  • 11
  • 78
  • 120
1

Mercury using the Mercury compiler (compiles to ANSI C, which can then be compiled to native code)

Troy Howard
  • 2,612
  • 21
  • 25
1

Modula 2 using modula2 compiler

Troy Howard
  • 2,612
  • 21
  • 25
1

Pascal with FreePascal compiler

Troy Howard
  • 2,612
  • 21
  • 25
1

Vala (compiles to ANSI C)

Troy Howard
  • 2,612
  • 21
  • 25
1

Haskell using GHC. Compiles via C or direct to native code requiring no special libraries.

Chris Smith
  • 5,326
  • 29
  • 29
0

I think you should give Qt a try. At least, download the file and run the samples, because it ships with a working example of the Notification area feature as you want.

http://qt-project.org/

Ravindranath Akila
  • 209
  • 3
  • 35
  • 45
0

Have a look at this page:

http://dada.perl.it/shootout/

It's a port of the computer language shootout to compile on the Win32 platform. In the chart of languages used, he lists which ones compile to native code (the compiler is listed in bold italics). I did notice that he listed C# and Java as compiling to native code, but that of course is incorrect, so make sure you investigate.

I will list each language separately to allow for individual voting.

Troy Howard
  • 2,612
  • 21
  • 25
0

Awk using awka*

(*note: awka interprets awk, and generates ANSI C, which can be compiled to native code with any C compiler).

Troy Howard
  • 2,612
  • 21
  • 25
0

PowerBasic

0

Forth using BigForth compiler

Troy Howard
  • 2,612
  • 21
  • 25
0

Haskell using ghc

Troy Howard
  • 2,612
  • 21
  • 25
0

Modula 3 using Critical Mass *

(*note: compiles to ANSI C, which can compile to native code using any standard C compiler)

Troy Howard
  • 2,612
  • 21
  • 25
0

OCaml compiled with OCaml compiler

Troy Howard
  • 2,612
  • 21
  • 25
0

Prolog using Visual Prolog

Troy Howard
  • 2,612
  • 21
  • 25
0

Ubercode using UberCode compiler

Troy Howard
  • 2,612
  • 21
  • 25
0

Goo using Goo compiler (generates ANSI C)

Troy Howard
  • 2,612
  • 21
  • 25
0

REALbasic which gives you the extra benefit of being able to compile for Mac and Linux as well.

Andy Dent
  • 17,578
  • 6
  • 88
  • 115
0

MASM32 ( http://masm32.com/ ) if you can live with the licensing agreement.

Brian Knoblauch
  • 20,639
  • 15
  • 57
  • 92