Re: [julia-users] Re: Using Julia for real time astronomy

2016-06-09 Thread John leger
Le mercredi 8 juin 2016 17:33:18 UTC+2, Páll Haraldsson a écrit : > > On Monday, June 6, 2016 at 9:41:29 AM UTC, John leger wrote: >> >> Since it seems you have a good overview in this domain I will give more >> details: >> We are working in signal processing and especially in image processing.

[julia-users] Re: Using Julia for real time astronomy

2016-06-08 Thread Islam Badreldin
Hi Páll, > The @nogc macro was made a long time ago, I now see: > > > https://groups.google.com/forum/?fromgroups=#!searchin/julia-users/Suspending$20Garbage$20Collection$20for$20Performance...good$20idea$20or$20bad$20idea$3F/julia-users/6_XvoLBzN60/nkB30SwmdHQJ > This is a very informative

[julia-users] Re: Using Julia for real time astronomy

2016-06-08 Thread Páll Haraldsson
On Tuesday, May 31, 2016 at 4:44:17 PM UTC, Páll Haraldsson wrote: > > On Monday, May 30, 2016 at 8:19:34 PM UTC, Tobias Knopp wrote: >> >> If you are prepared to make your code to not perform any heap >> allocations, I don't see a reason why there should be any issue. When I >> once worked on a

Re: [julia-users] Re: Using Julia for real time astronomy

2016-06-08 Thread Páll Haraldsson
On Monday, June 6, 2016 at 9:41:29 AM UTC, John leger wrote: > > Since it seems you have a good overview in this domain I will give more > details: > We are working in signal processing and especially in image processing. > The goal here is just the adaptive optic: we just want to stabilize the

Re: [julia-users] Re: Using Julia for real time astronomy

2016-06-07 Thread Islam Badreldin
Hi John, Please see below .. On Tuesday, June 7, 2016 at 5:26:32 AM UTC-4, John leger wrote: > > Hi Islam, > > I like the definition of 95% hard real time; it suits my needs. Thanks for > this good paper. > > Le lundi 6 juin 2016 18:45:35 UTC+2, Islam Badreldin a écrit : >> >> Hi John, >> >> I

Re: [julia-users] Re: Using Julia for real time astronomy

2016-06-07 Thread John leger
Hi Islam, I like the definition of 95% hard real time; it suits my needs. Thanks for this good paper. Le lundi 6 juin 2016 18:45:35 UTC+2, Islam Badreldin a écrit : > > Hi John, > > I am currently pursuing similar effort. I got a GPIO pin on the BeagleBone > Black embedded board toggling in

Re: [julia-users] Re: Using Julia for real time astronomy

2016-06-06 Thread Islam Badreldin
Hi John, I am currently pursuing similar effort. I got a GPIO pin on the BeagleBone Black embedded board toggling in hard real-time and verified the jitter with an oscilloscope. For that, I used a vanilla Linux 4.4.11 kernel with the PREEMPT_RT patch applied. I also released an initial version

Re: [julia-users] Re: Using Julia for real time astronomy

2016-06-06 Thread John leger
Since it seems you have a good overview in this domain I will give more details: We are working in signal processing and especially in image processing. The goal here is just the adaptive optic: we just want to stabilize the image and not get the final image. The consequence is that we will not

Re: [julia-users] Re: Using Julia for real time astronomy

2016-06-03 Thread Páll Haraldsson
On Thursday, June 2, 2016 at 7:55:03 AM UTC, John leger wrote: > > Páll: don't worry about the project failing because of YOUU ;) in any > case we wanted to try Julia and see if we could get help/tips from the > community. > Still, feel free to ask me anytime. I just do not want to give bad

Re: [julia-users] Re: Using Julia for real time astronomy

2016-06-02 Thread Cedric St-Jean
John: Common Lisp and Julia have a lot in common. I didn't mean to suggest writing your software in Lisp, I meant that if ITA was able to run a hugely popular website involving a complicated optimization problem without triggering the GC, then you can do the same in Julia. Like others have

Re: [julia-users] Re: Using Julia for real time astronomy

2016-06-02 Thread Leger Jonathan
Páll: don't worry about the project failing because of YOUU ;) in any case we wanted to try Julia and see if we could get help/tips from the community. About the nogc I wonder if activating it will also prevent the core of Julia to be garbage collected ? If yes for long run it's a bad idea

[julia-users] Re: Using Julia for real time astronomy

2016-06-01 Thread Cedric St-Jean
Apparently, ITA Software (Orbitz) was written nearly entirely in Lisp, with 0 heap-allocation during runtime to have performance guarantees. It's pretty inspiring , in a I-crossed-the-Himalayas-barefoot kind of way. On Wednesday, June 1, 2016 at 5:59:15 PM

[julia-users] Re: Using Julia for real time astronomy

2016-06-01 Thread Páll Haraldsson
On Wednesday, June 1, 2016 at 9:40:54 AM UTC, John leger wrote: > > So for now the best is to build a toy that is equivalent in processing > time to the original and see by myself what I'm able to get. > We have many ideas, many theories due to the nature of the GC so the best > is to try. > >

[julia-users] Re: Using Julia for real time astronomy

2016-06-01 Thread John leger
So for now the best is to build a toy that is equivalent in processing time to the original and see by myself what I'm able to get. We have many ideas, many theories due to the nature of the GC so the best is to try. Páll -> Thanks for the links Le mardi 31 mai 2016 18:44:17 UTC+2, Páll

[julia-users] Re: Using Julia for real time astronomy

2016-05-31 Thread Páll Haraldsson
On Monday, May 30, 2016 at 8:19:34 PM UTC, Tobias Knopp wrote: > > If you are prepared to make your code to not perform any heap allocations, > I don't see a reason why there should be any issue. When I once worked on a > very first multi-threading version of Julia I wrote exactly such functions

[julia-users] Re: Using Julia for real time astronomy

2016-05-31 Thread Páll Haraldsson
On Monday, May 30, 2016 at 12:10:39 PM UTC, Uwe Fechner wrote: > > I think, that would be difficult. > > As soon as you use any packages for image conversion or estimation you > have to assume that they use dynamic memory allocation. > > The garbage collector of Julia is fast, but not suitable

[julia-users] Re: Using Julia for real time astronomy

2016-05-30 Thread 'Tobias Knopp' via julia-users
If you are prepared to make your code to not perform any heap allocations, I don't see a reason why there should be any issue. When I once worked on a very first multi-threading version of Julia I wrote exactly such functions that won't trigger gc since the later was not thread safe. This can

Re: [julia-users] Re: Using Julia for real time astronomy

2016-05-30 Thread Tamas Papp
You could test whether the GC is fast enough by implementing the computational core (using simulated data or something similar), then just running it. Then if you find it is not acceptable, you haven't wasted time on writing the code for interfacing with the equipment. Also, you could think about

Re: [julia-users] Re: Using Julia for real time astronomy

2016-05-30 Thread Leger Jonathan
Thanks for the answer. I don't intend to use any package, only use my array so I can confirm that I will not have dynamic memory allocation (let's hope that I'm true ;) ). But even in this case Julia itself may do allocations, so my question would be more: if there is nearly nothing to do, is

[julia-users] Re: Using Julia for real time astronomy

2016-05-30 Thread Uwe Fechner
I think, that would be difficult. As soon as you use any packages for image conversion or estimation you have to assume that they use dynamic memory allocation. The garbage collector of Julia is fast, but not suitable for hard real-time requirements. Implementing a garbage collector for hard