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/atlantib...thonutils.html 9 2208
Michael Foord wrote: 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
On 24 Aug 2004 04:53:13 -0700, fu******@gmail. com (Michael Foord)
wrote: 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.
>>>>> "Michael" == Michael Foord <fu******@gmail .com> writes:
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.
--
Ville Vainio http://tinyurl.com/2prnb
"Jussi Jumppanen" <ju****@zeusedi t.com> wrote in message
news:41******** ***@zeusedit.co m... Michael Foord wrote:
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
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
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.
Jussi Jumppanen <ju****@zeusedi t.com> wrote in message news:<41******* ****@zeusedit.c om>... Michael Foord wrote:
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
Wow... scriptable with python sounds good.
Regards,
Fuzzy http://www.voidspace.org.uk/atlantib...thonutils.html
Ville Vainio <vi***@spammers .com> wrote in message news:<du******* ******@lehtori. cc.tut.fi>... >> "Michael" == Michael Foord <fu******@gmail .com> writes:
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/atlantib...thonutils.html gr****@hotmail. com (grv575) wrote in message news:<14******* *************** ***@posting.goo gle.com>... 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.
Thanks.
I've never got round to trying pyCrust... must give it a go.
Regards,
Fuzzy http://www.voidspace.org.uk/atlantib...thonutils.html
Fred <no****@nowhere .com> wrote in message news:<0h******* *************** **********@4ax. com>... On 24 Aug 2004 04:53:13 -0700, fu******@gmail. com (Michael Foord) wrote: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.
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/atlantib...thonutils.html This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: jodocus |
last post by:
hi,
I am new to python (but not to programming - have programmed in many
other languages like C++/lisp/perl etc.) and I would like to buy a good
book. The local bookstore has no books about Python, so I cannot look
into a book and see whether I like it. That is why I turned to this
newsgroup for advise.
I would like a book with a very complete and correct description of the
language and the built-in features, and things like how to...
|
by: Alexander DEJANOVSKI |
last post by:
Hi all,
I'm starting a new project to develop an Open-Source EAI server in Python
and I'm looking for motivated developpers and testers.
It is inspired by Open Adaptor (www.openadaptor.org), but aims to be easier
to use and more powerful.
I've developped yet a first alpha that contains several components:
File Source
|
by: The_Incubator |
last post by:
As the subject suggests, I am interested in using Python as a scripting
language for a game that is primarily implemented in C++, and I am also
interested in using generators in those scripts...
Initially I was justing looking at using Python for some event
scripting. So basically an event would trigger an object to run the
appropriate Python script, which would be run in it's entirety and
return control to the C++ code.
After looking...
|
by: sundarashiv |
last post by:
Hi all ,
I have a linux application that needs to run on a python interpreter
..So what is the best way to have the same functionalities provided by
"C" to be implemented in python .
WORST IDEA : Recode the entire application in Python . ..looking for
ideas better than mine
|
by: Xah Lee |
last post by:
Python, Lambda, and Guido van Rossum
Xah Lee, 2006-05-05
In this post, i'd like to deconstruct one of Guido's recent blog about
lambda in Python.
In Guido's blog written in 2006-02-10 at
http://www.artima.com/weblogs/viewpost.jsp?thread=147358
| |
by: walterbyrd |
last post by:
I don't know if this is a fair comparison or not. Any comments
appreciated.
- Python is more readable, and more general purpose
- PHP has awful backward compatibility
- PHP has a lower barrier to entry
- Most inexpensive web-hosters support PHP, but not Python
- PHP has far more pre-writen scripts available
- Newer versions of mod_python require Apache 2.0, which few hosters
have
|
by: Thierry |
last post by:
Hello peoples,
As I said, I'm new to python, and particularly to XML generation in
python.
Using the 4suite XML package, I have been able to produce XML, but
only directly to STDOUT.
Refering to the 4suite markupWriter refrence, the class needs a stream
to output the generated XML, and if none is specified, it's the STDOUT
stream that is used.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |