Search found 31 matches

by asrael
Wed Jan 02, 2019 1:20 pm
Forum: General programming
Topic: WaitLeftMouse takes 4 seconds to react on m68k
Replies: 20
Views: 12254

WaitLeftMouse takes 4 seconds to react on m68k

Hi.

I have a small program. In the main loop it waits for 'WaitLeftMouse'.
There is a debug log before and after with timing.
Sometimes, or actually most of the time when I click in the window it takes ~4 seconds until the 'WaitLeftMouse' wakes up.
Any idea what's wrong there?


Manfred
by asrael
Mon Sep 17, 2018 9:35 am
Forum: General programming
Topic: OOP framework
Replies: 26
Views: 17060

Re: OOP framework

Article that might be worth reading, or then not. https://medium.com/@cscalfani/goodbye-object-oriented-programming-a59cda4c0e53 Neither OO nor FP is the magic bullet. And then OO is not equal to OO. There are many additional concepts and implementations which try to eliminate the weak spots of OO....
by asrael
Thu Aug 30, 2018 9:42 am
Forum: General programming
Topic: OOP framework
Replies: 26
Views: 17060

Re: OOP framework

Can you add some examples how that is used?
by asrael
Tue Aug 28, 2018 9:17 am
Forum: General programming
Topic: OOP framework
Replies: 26
Views: 17060

Re: OOP framework

That sounds like a lot of work. You should be certain have enough time in the next years to maintain this.


Manfred
by asrael
Sun Aug 26, 2018 11:13 am
Forum: General programming
Topic: OOP framework
Replies: 26
Views: 17060

Re: OOP framework

So you want to create something on top of Hollywood that is syntactically similar to Objective-C?
And then create a framework with that?
by asrael
Sat Aug 25, 2018 8:48 am
Forum: General programming
Topic: OOP framework
Replies: 26
Views: 17060

Re: OOP framework

Yes, I know this framework.
But I'm not sure I understand. This framework doesn't extend the language features, it is an API.
by asrael
Wed Aug 15, 2018 6:07 pm
Forum: General programming
Topic: OOP framework
Replies: 26
Views: 17060

Re: OOP framework

Really? Maybe you have more experience. But I found that Hollywood is very close to Lua. Hollywood makes everything PascalCase, I mean staring with a capital. That's not in Lua. I think that Hollywood actually only adds things to Lua, like the For loop. Lua doesn't know 'For i = 0 to Xyz' but only '...
by asrael
Wed Aug 15, 2018 5:15 pm
Forum: General programming
Topic: OOP framework
Replies: 26
Views: 17060

Re: OOP framework

Ah, OK.
But Hollywood is Lua, actually. Isn't it? OK, the preprocessor replaces some things , but still.
by asrael
Wed Aug 15, 2018 11:00 am
Forum: General programming
Topic: OOP framework
Replies: 26
Views: 17060

Re: OOP framework

Hmm, OK. So you provide a plugin for this coding it in C/C++?
by asrael
Wed Aug 15, 2018 8:33 am
Forum: General programming
Topic: OOP framework
Replies: 26
Views: 17060

Re: OOP framework

That sounds good.

What do you mean with you don't recognise the Lua syntax of my posts?
The former or the later?
The former is here: https://www.lua.org/pil/16.1.html


Manfred