Python and C, looking for a C IDE

M

Michael Foord

I'm looking to learn C to move some 'speed sensitive' code from C to
python. I'm partly doign this as an exercise to learn a static
language to help broaden my programming skills - so please don't jump
on the bandwagon and tell me I'd be better placed to put my efforts
into optimising my python code !!

I'd like to use tools like Pyrex and weave with the GCC compiler on
windoze. I've got Pyrex working... but weave doesn't seem t
oco-operate with GCC :-(
Although weave itself will compile with GCC (Apparently) I haven't yet
worked out how to persuade it to *use* GCC... weave has it's own
mutation of distutils with an (apparently) different and undocumetned
configuration system...

That aside - Pyrex looks the kiddie. Can anyone reccomend a reasonable
C IDE ? An 'IDE' would be nice, but an editor might be sufficient.

Regards,


Fuzzy

http://www.voidspace.org.uk/atlantibots/pythonutils.html
 
J

Jussi Jumppanen

Michael said:
That aside - Pyrex looks the kiddie. Can anyone reccomend a reasonable
C IDE ? An 'IDE' would be nice, but an editor might be sufficient.

Take a look at the Zeus for Windows programmers editor:

http://www.zeusedit.com/lookmain.html

Zeus supports Python, C/C++ and almost any other language. Some of
the programming features include:

+ Code completion and intellisensing
+ Integrated class browser
+ Project/workspace management
+ Fully configurable syntax highlighting
+ Seamless FTP editing
+ Integrated version control using the Microsoft Source Code
Control (SCC) interface, including CVS integration.
+ Quick Help context sensitive help engine
+ Fully scriptable using Python

There is also a tutorial (see the Start Button, Programs, Zeus for
Windows, Tutorials) that explains how to setup the Ming compiler
and debugger (Windows ports of gcc and gdb) to work with Zeus.

Jussi Jumppanen
http://www.zeusedit.com
 
F

Fred

I'm looking to learn C to move some 'speed sensitive' code from C to
python. I'm partly doign this as an exercise to learn a static
language to help broaden my programming skills - so please don't jump
on the bandwagon and tell me I'd be better placed to put my efforts
into optimising my python code !!

.... or you could take a look at writing this speed-sensitive part in
PowerBasic. The speed and size of C, without the hassles :)

http://www.powerbasic.com/products/pbdll32/

I haven't yet looked at how to compile a DLL in PowerBasic and call it
from Python, but it's on my to-do list.
Fred.
 
V

Ville Vainio

Michael> That aside - Pyrex looks the kiddie. Can anyone reccomend
Michael> a reasonable C IDE ? An 'IDE' would be nice, but an
Michael> editor might be sufficient.

IDE isn't really necessary for C - OO/modular languages like Java/C++
benefit more from IDEs. You might do better by just picking an editor
(e.g. something like Emacs or Jed) and putting the compilation
commands in a python script (or a bat file), or learn make.

Then again, there is Eclipse, the IDE to end all IDEs. It supports
C/C++ too.
 
R

R Baumann

Jussi Jumppanen said:
Take a look at the Zeus for Windows programmers editor:

http://www.zeusedit.com/lookmain.html

Zeus supports Python, C/C++ and almost any other language. Some of
the programming features include:

+ Code completion and intellisensing
+ Integrated class browser
+ Project/workspace management
+ Fully configurable syntax highlighting
+ Seamless FTP editing
+ Integrated version control using the Microsoft Source Code
Control (SCC) interface, including CVS integration.
+ Quick Help context sensitive help engine
+ Fully scriptable using Python

There is also a tutorial (see the Start Button, Programs, Zeus for
Windows, Tutorials) that explains how to setup the Ming compiler
and debugger (Windows ports of gcc and gdb) to work with Zeus.

Jussi Jumppanen
http://www.zeusedit.com

Try Jedit. http://www.jedit.org/

While primarily written for Java(in Java), it has a plug-in for Jython, and
supports C/C++ and a myriad of other languages.

Ruben
 
G

grv575

C IDE? DevC++ is sweet. It's on sourceforge. Python IDEs --
winpython on windows, eric3 on linux is great. Also compile wxPython
to get pyCrust (windows or linux). Really good code completion/call
tips.
 
M

Michael Foord

Jussi Jumppanen said:
Take a look at the Zeus for Windows programmers editor:

http://www.zeusedit.com/lookmain.html

Zeus supports Python, C/C++ and almost any other language. Some of
the programming features include:

+ Code completion and intellisensing
+ Integrated class browser
+ Project/workspace management
+ Fully configurable syntax highlighting
+ Seamless FTP editing
+ Integrated version control using the Microsoft Source Code
Control (SCC) interface, including CVS integration.
+ Quick Help context sensitive help engine
+ Fully scriptable using Python

There is also a tutorial (see the Start Button, Programs, Zeus for
Windows, Tutorials) that explains how to setup the Ming compiler
and debugger (Windows ports of gcc and gdb) to work with Zeus.

Jussi Jumppanen
http://www.zeusedit.com


Wow... scriptable with python sounds good.

Regards,


Fuzzy

http://www.voidspace.org.uk/atlantibots/pythonutils.html
 
M

Michael Foord

Ville Vainio said:
Michael> That aside - Pyrex looks the kiddie. Can anyone reccomend
Michael> a reasonable C IDE ? An 'IDE' would be nice, but an
Michael> editor might be sufficient.

IDE isn't really necessary for C - OO/modular languages like Java/C++
benefit more from IDEs. You might do better by just picking an editor
(e.g. something like Emacs or Jed) and putting the compilation
commands in a python script (or a bat file), or learn make.

Then again, there is Eclipse, the IDE to end all IDEs. It supports
C/C++ too.

Ahh... 'the one true IDE'... at last I've found it ;-)
I think I've heard good things about eclipse.

I might just use Ultraedit though (my favourite editor) and as you say
investigate automating the compile cycle...... I probably *ought* to
learn make, but I'd rather script it myself.

Regards,


Fuzzy
http://www.voidspace.org.uk/atlantibots/pythonutils.html
 
M

Michael Foord

Fred said:
... or you could take a look at writing this speed-sensitive part in
PowerBasic. The speed and size of C, without the hassles :)

http://www.powerbasic.com/products/pbdll32/

I haven't yet looked at how to compile a DLL in PowerBasic and call it
from Python, but it's on my to-do list.
Fred.

Hmm... commercial, non cross platform... not for me - sorry.
I'd quite like to learn C anyway. Probably tackle lisp after that -
which is also (generally) a lot faster than python....

Regards,

Fuzzball

http://www.voidspace.org.uk/atlantibots/pythonutils.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top