Michael Van Canneyt wrote:
Hello,
I just received my copy of Linux Journal:
Issue 185 with the 5-page Lazarus article by Mattias Gaertner.
After many years, finally Lazarus in Linux Journal,
I thought I'd never see the day :-)
Good job, Mattias !
I just got a notice from Linux Journal
Hi,
Does the Lazarus IDE use multi-threading for anything? Will it take
advantage of a Quad Core processor?
Examples where I think it could be used (if not already)
- background parsing of units
- fpdoc lookups
- compile project in separate thread (currently the IDE is
almost completely
Graeme Geldenhuys schreef:
Hi,
Does the Lazarus IDE use multi-threading for anything? Will it take
advantage of a Quad Core processor?
The IDE itself is single threaded.
Examples where I think it could be used (if not already)
- background parsing of units
- fpdoc lookups
- compile
Graeme Geldenhuys wrote:
Hi,
Does the Lazarus IDE use multi-threading for anything? Will it take
advantage of a Quad Core processor?
Examples where I think it could be used (if not already)
- background parsing of units
- fpdoc lookups
- compile project in separate thread (currently the
Graeme Geldenhuys schreef:
Marc Weustink wrote:
Don't know about the others, but compiling is done by a separate
process, so there is a chance that your os runs it in a different core.
That's not the same as running it in a separate thread though - is it?
Quoted from a Posix Thread
On Thu, 13 Aug 2009, Graeme Geldenhuys wrote:
Marc Weustink wrote:
Don't know about the others, but compiling is done by a separate process,
so there is a chance that your os runs it in a different core.
That's not the same as running it in a separate thread though - is it?
Quoted from
Graeme Geldenhuys wrote:
How can I see the thread-count per process / application under Linux?
To answer my own question...
$ watch -n.1 'ps -C thunderbird-bin -L -o pid,tid,pcpu,state'
This will execute the ps command every second showing a live update of
the threads for the
Michael Van Canneyt schrieb:
So wouldn't it be more efficient to create a new thread for the
compiler instead of a new process?
Efficient, yes;
As I pointed out on fpc-core a few days ago, I'd like to create an fpc
which stays in memory and takes commands via pipes/sockets/ipc whatever
to
I published and provided source for Manager and Worker Threads. It
includes advanced knowledge on how to design a highly efficient system
with little to no wait-states.
See: http://wiki.freepascal.org/Manager_Worker_Threads_System
Let me know what you think,
- Andrew
On Thu, Aug 13, 2009 at
On Thu, 13 Aug 2009, Florian Klaempfl wrote:
Michael Van Canneyt schrieb:
So wouldn't it be more efficient to create a new thread for the compiler
instead of a new process?
Efficient, yes;
As I pointed out on fpc-core a few days ago, I'd like to create an fpc which
stays in memory and
Graeme Geldenhuys schrieb:
Quoted from a Posix Thread tutorial I found on the internet.
http://www.yolinux.com/TUTORIALS/LinuxTutorialPosixThreads.html
Threads require less overhead than forking or spawning a new process
because the system does not initialize a new system virtual memory
Before submitting a bug, I just want to check my understanding is correct.
crDefault (at least on Windows) is supposed to show the Systems default
for wherever the cursor is.
That means over an Edit field this is a IBeam cursor and not an arrow.
I don't know what the GTK2 default for edit
On Thu, Aug 13, 2009 at 02:01:38PM +0200, Florian Klaempfl wrote:
Michael Van Canneyt schrieb:
So wouldn't it be more efficient to create a new thread for the
compiler instead of a new process?
Efficient, yes;
As I pointed out on fpc-core a few days ago, I'd like to create an fpc
Marc Weustink wrote:
Don't know about the others, but compiling is done by a separate
process, so there is a chance that your os runs it in a different
core.
OK, after reading all the other responses I now understand the
flexibility of keeping FPC and Lazarus separate, but why then is
OK, after reading all the other responses I now understand the flexibility
of keeping FPC and Lazarus separate, but why then is Lazarus non-responsive
while the compiler is compiling in a separate process?
because IDE is reading FPC output?
and gives only a few .ProcessMessages for user
Martin schrieb:
crDefault (at least on Windows) is supposed to show the Systems default
for wherever the cursor is.
IMO crDefault means that the actual shape of the cursor is not
determined by the control under the cursor, but instead the control's
parent cursor is used (recursively). When
Hans-Peter Diettrich wrote:
Martin schrieb:
crDefault (at least on Windows) is supposed to show the Systems
default for wherever the cursor is.
IMO crDefault means that the actual shape of the cursor is not
determined by the control under the cursor, but instead the control's
parent cursor
Vincent Snijders wrote:
Yes, it is more efficient. The fp ide also doesn't create a new process.
Interesting, I'll take a peak at that.
The disadvantage of using the same process is that the coupling is much
tighter: No easy switching between compiler versions, and crashing the
compiler
Can somebody that is more familiar with the internals of the Lazarus IDE
tell me, would it be hard to implement the IDE with FPC built in, so that
compiling can be done in a separate thread instead of separate process? I'll
do the work of course - if it's not a major job. ;-)
The most hardest
On Thu, 13 Aug 2009, Graeme Geldenhuys wrote:
Vincent Snijders wrote:
Yes, it is more efficient. The fp ide also doesn't create a new process.
Interesting, I'll take a peak at that.
The disadvantage of using the same process is that the coupling is much
tighter: No easy switching
Graeme Geldenhuys schrieb:
Vincent Snijders wrote:
Yes, it is more efficient. The fp ide also doesn't create a new process.
Interesting, I'll take a peak at that.
The disadvantage of using the same process is that the coupling is
much tighter: No easy switching between compiler
Anyone using LazReport in production environment? I'd like to start doing more
GUI based projects in Lazarus but lack of a good reporting tool is a deterrent
for may types of projects that I do.
I tried it out about a year ago and there was some problems but I bet there's
been some work
On Thu, 13 Aug 2009 12:40:54 +0200
Graeme Geldenhuys grae...@opensoft.homeip.net wrote:
Hi,
Does the Lazarus IDE use multi-threading for anything?
It is single threaded.
Will it take advantage of a Quad Core processor?
Not yet.
Examples where I think it could be used (if not already)
On Thu, 13 Aug 2009 14:01:38 +0200
Florian Klaempfl flor...@freepascal.org wrote:
Michael Van Canneyt schrieb:
So wouldn't it be more efficient to create a new thread for the
compiler instead of a new process?
Efficient, yes;
As I pointed out on fpc-core a few days ago, I'd like to
Mattias Gaertner schrieb:
On Thu, 13 Aug 2009 14:01:38 +0200
Florian Klaempfl flor...@freepascal.org wrote:
Michael Van Canneyt schrieb:
So wouldn't it be more efficient to create a new thread for the
compiler instead of a new process?
Efficient, yes;
As I pointed out on fpc-core a few
Hi all,
El 07/08/2009, a las 10:38, Giuseppe Luigi Punzi escribió:
El vie, 07-08-2009 a las 10:32 +0200, Graeme Geldenhuys escribió:
Michael Van Canneyt wrote:
Add something like
port=5433
to the params property.
I can confirm that setting the Database.Params property is correct
and
On Thu, 13 Aug 2009 22:41:28 +0200
Giuseppe Luigi Punzi Ruiz glpu...@lordzealon.com wrote:
Hi all,
El 07/08/2009, a las 10:38, Giuseppe Luigi Punzi escribió:
El vie, 07-08-2009 a las 10:32 +0200, Graeme Geldenhuys escribió:
Michael Van Canneyt wrote:
Add something like
On Thu, 13 Aug 2009 22:24:37 +0200
Florian Klaempfl flor...@freepascal.org wrote:
Mattias Gaertner schrieb:
On Thu, 13 Aug 2009 14:01:38 +0200
Florian Klaempfl flor...@freepascal.org wrote:
Michael Van Canneyt schrieb:
So wouldn't it be more efficient to create a new thread for the
Lee Jenkins wrote:
Anyone using LazReport in production environment? I'd like to start
doing more GUI based projects in Lazarus but lack of a good reporting
tool is a deterrent for may types of projects that I do.
In tiOPF there is a RTFReport.pas unit that I ported to Free Pascal. It's a
On Thu, 13 Aug 2009 22:57:51 +0200
Giuseppe Luigi Punzi Ruiz glpu...@lordzealon.com wrote:
Hi Mattias,
Please start the IDE in gdb, create a backtrace and a bug report:
http://wiki.lazarus.freepascal.org/Creating_a_Backtrace_with_GDB
I tried, but I can't get to crash it. I only
Michael Van Canneyt wrote:
They have the compiler in a DLL which is loaded when the IDE starts.
Clever. I would imagine their command line compiler also uses that DLL then.
Simple code reuse.
Regards,
- Graeme -
fpGUI - a cross-platform
Florian Klaempfl wrote:
Probably simple. The compiler is started by the compile function in
fpc/compiler/compiler.pas and takes simply a command line arguments. You
need to set some hooks though to catch messages, see e.g.
fpc/ide/fpcompile.pas (especially DoCompile starting at 868) and
galilea:lazarus glpunzi$ gdb startlazarus
GNU gdb 6.3.50-20050815 (Apple version gdb-966) (Tue Mar 10 02:43:13
UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of
Mattias Gaertner wrote:
Examples where I think it could be used (if not already)
- background parsing of units
Yes, this is planned. Some expensive parts can be done in worker
Excellent.
- fpdoc lookups
That should be easier. This already works in several separate parts
executed
Graeme Geldenhuys escreveu:
I'm pretty sure it will be easy to remove tiOPF dependencies from the
RTFReport unit, so it can be used as a stand-alone (non tiOPF based)
report engine.
Please, keep us informed when you remove the dependency ;-)
Luiz
--
Lee Jenkins escreveu:
Anyone using LazReport in production environment? I'd like to start
doing more GUI based projects in Lazarus but lack of a good reporting
tool is a deterrent for may types of projects that I do.
I tried it out about a year ago and there was some problems but I bet
Sorry if this is the wrong place to discuss language issues.
I saw the following on the ADUG Delphi list and wondered if there was
a possible Lazarus feature here.
Cheers
Lance
How can you avoid
37 matches
Mail list logo