Poster | Thread |
amigakit
| |
Amiga Developer Blog Posted on 31-Oct-2020 15:06:57
| | [ #1 ] |
|
|
|
Amiga Kit |
Joined: 28-Jun-2004 Posts: 2519
From: www.amigakit.com | | |
|
| Hello,
I have today published another article on the Amiga Developer Blog: Introducing Enhancer Software Core V1.1
http://blog.amigadeveloper.com
This article explains how to download, register and install the new Enhancer Software Core V1.1 as well as an overview of the files contained inside it.
Regards
Matthew _________________ Amiga Kit Amiga Store Links: www.amigakit.com | New Products | A600GS |
|
Status: Offline |
|
|
amigakit
| |
Re: Amiga Developer Blog Posted on 24-Dec-2020 19:49:28
| | [ #2 ] |
|
|
|
Amiga Kit |
Joined: 28-Jun-2004 Posts: 2519
From: www.amigakit.com | | |
|
| |
Status: Offline |
|
|
NutsAboutAmiga
| |
Re: Amiga Developer Blog Posted on 24-Dec-2020 22:53:12
| | [ #3 ] |
|
|
|
Elite Member |
Joined: 9-Jun-2004 Posts: 12817
From: Norway | | |
|
| @amigakit
That sound like bad idea, to no longer point direct to a class using pointer's.
If you are using ID's insted, you actually need to search for ID every time you are changing a property, the search time in a linked list as we think is good in Amiga world, but it is shit design, require you search every node in list, to find the id in the worst case.
1. First of all, we should not use linked list.
2. We should try to get from point A to point B as quality as possible, search algorithms are normally slow. Try to avoid it everywhere its possible. We do not wont slow GUI, that do not respond and do takes for every to resize.
3. Some times you need to write it as multithread program, its useful to let threads update gadgets, all new GUI’s should have built in thread safety. (Mutex/Lock/Unlock)
Last edited by NutsAboutAmiga on 24-Dec-2020 at 10:57 PM. Last edited by NutsAboutAmiga on 24-Dec-2020 at 10:56 PM.
_________________ http://lifeofliveforit.blogspot.no/ Facebook::LiveForIt Software for AmigaOS |
|
Status: Offline |
|
|
Trixie
| |
Re: Amiga Developer Blog Posted on 24-Dec-2020 22:59:02
| | [ #4 ] |
|
|
|
Amiga Developer Team |
Joined: 1-Sep-2003 Posts: 2090
From: Czech Republic | | |
|
| @NutsAboutAmiga
I wouldn't like to challenge your ability to read an article in English, but... what on EARTH are you talking about???
_________________ The Rear Window blog
AmigaOne X5000/020 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition |
|
Status: Offline |
|
|
NutsAboutAmiga
| |
Re: Amiga Developer Blog Posted on 24-Dec-2020 23:20:14
| | [ #5 ] |
|
|
|
Elite Member |
Joined: 9-Jun-2004 Posts: 12817
From: Norway | | |
|
| @Trixie
This is what I'm reacting to.
Quote:
In the SpeedBar Gadget, an element is referred to by a pointer to an Exec list node. (In other words: the class exposes the actual implementation to the programmer, which I think is wrong.) |
I’m saying ID’s are bad, in the article it did suggest using ID’s, I'm suggest using index numbers instead, if possible, or maybe provide method to obtain the index number.
Using index number cut down access time to the class, because wont need to search the nodes or items.
Use vector’s or something similar, not linked lists.Last edited by NutsAboutAmiga on 24-Dec-2020 at 11:35 PM. Last edited by NutsAboutAmiga on 24-Dec-2020 at 11:34 PM. Last edited by NutsAboutAmiga on 24-Dec-2020 at 11:31 PM. Last edited by NutsAboutAmiga on 24-Dec-2020 at 11:29 PM. Last edited by NutsAboutAmiga on 24-Dec-2020 at 11:23 PM. Last edited by NutsAboutAmiga on 24-Dec-2020 at 11:22 PM. Last edited by NutsAboutAmiga on 24-Dec-2020 at 11:21 PM.
_________________ http://lifeofliveforit.blogspot.no/ Facebook::LiveForIt Software for AmigaOS |
|
Status: Offline |
|
|
Trixie
| |
Re: Amiga Developer Blog Posted on 25-Dec-2020 6:18:34
| | [ #6 ] |
|
|
|
Amiga Developer Team |
Joined: 1-Sep-2003 Posts: 2090
From: Czech Republic | | |
|
| @NutsAboutAmiga
Quote:
I’m saying ID’s are bad, in the article it did suggest using ID’s, I'm suggest using index numbers instead |
The numerical ID is just an abstract way for the programmer to address a toolbar element on the API level. How the class accesses elements internally is another thing.
I would agree that a linked list could slow things down if the gadget had to scan the list looking for a named node (i.e. for a string ID), but this is not what the ToolBar Gadget does.
_________________ The Rear Window blog
AmigaOne X5000/020 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition |
|
Status: Offline |
|
|
amigakit
| |
Re: Amiga Developer Blog Posted on 29-Dec-2020 12:16:43
| | [ #7 ] |
|
|
|
Amiga Kit |
Joined: 28-Jun-2004 Posts: 2519
From: www.amigakit.com | | |
|
| |
Status: Offline |
|
|