Click here to Skip to main content
15,896,726 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Hello everyone Pin
Rage12-Jul-18 22:29
professionalRage12-Jul-18 22:29 
GeneralRe: Hello everyone Pin
OriginalGriff13-Jul-18 3:57
mveOriginalGriff13-Jul-18 3:57 
GeneralRe: Hello everyone Pin
CodeWraith12-Jul-18 21:31
CodeWraith12-Jul-18 21:31 
GeneralRe: Hello everyone Pin
ZurdoDev13-Jul-18 1:41
professionalZurdoDev13-Jul-18 1:41 
GeneralRe: Hello everyone Pin
Rage13-Jul-18 3:01
professionalRage13-Jul-18 3:01 
GeneralRe: Hello everyone Pin
Mark Parity12-Jul-18 22:25
Mark Parity12-Jul-18 22:25 
GeneralDoes This Carbon Unit Thinks Like A Silicon Unit? Pin
David A. Gray12-Jul-18 10:10
David A. Gray12-Jul-18 10:10 
GeneralRe: Does This Carbon Unit Thinks Like A Silicon Unit? Pin
Nelek12-Jul-18 20:31
protectorNelek12-Jul-18 20:31 
David A. Gray wrote:
The new library, with its thread-safe routines, will soon find its way into a new GitHub repository.
Don't forget to write a CP-Article for it Wink | ;) Thumbs Up | :thumbsup: Thumbs Up | :thumbsup:


I know what you say...
In the PLC world there have been improvements towards the high level languages too, but they (the improvements) were/are very slow.
5 Years ago... in a project. A function to find an object and bring it to the GUI. To be done we needed two nested loops, one for the data containers in each station and one for the data objects in the selected station.

High level code... 4 lines. Compile: 34 Kb translated code, cycle time increased by 10 to 15 ms every time the function was being called. Me... D'Oh! | :doh: D'Oh! | :doh: D'Oh! | :doh:

Cup of coffee, earphones, music, "do not disturb" sign on my desk, 2 hours work = code written in LAD? (english name for german AWL) which is kind of similar to assembly. Function 1,7 kb code, cycle time not visibly affected by the use of the function (meaning: impact < 0,5ms). My co-worker OMG | :OMG: OMG | :OMG:

This project was done based on a previous project done by a previous employee, the difference, I got the other in legacy mode. I had to write this from the scratch, a couple of re-factorings later... the very same PLCs (Hardware) were handling 60 to 70% more data / functionality, and had a stable cycle time 30% faster than the base project.


Conclusion: High level languages are nice and can perform a real huge amount of things, but sometimes it is like trying to kill a fly with a bazooka.
M.D.V. Wink | ;)

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.

GeneralRe: Does This Carbon Unit Thinks Like A Silicon Unit? Pin
CodeWraith12-Jul-18 22:23
CodeWraith12-Jul-18 22:23 
GeneralRe: Does This Carbon Unit Thinks Like A Silicon Unit? Pin
Nelek12-Jul-18 22:30
protectorNelek12-Jul-18 22:30 
GeneralRe: Does This Carbon Unit Thinks Like A Silicon Unit? Pin
David A. Gray13-Jul-18 6:54
David A. Gray13-Jul-18 6:54 
GeneralRe: Does This Carbon Unit Thinks Like A Silicon Unit? Pin
BillWoodruff13-Jul-18 3:10
professionalBillWoodruff13-Jul-18 3:10 
GeneralRe: Does This Carbon Unit Thinks Like A Silicon Unit? Pin
David A. Gray13-Jul-18 6:28
David A. Gray13-Jul-18 6:28 
GeneralRe: Does This Carbon Unit Thinks Like A Silicon Unit? Pin
BillWoodruff13-Jul-18 9:12
professionalBillWoodruff13-Jul-18 9:12 
GeneralRe: Does This Carbon Unit Thinks Like A Silicon Unit? Pin
David A. Gray13-Jul-18 9:14
David A. Gray13-Jul-18 9:14 
GeneralWoz's quote about Jobs' failure Pin
raddevus12-Jul-18 9:31
mvaraddevus12-Jul-18 9:31 
GeneralRe: Woz's quote about Jobs' failure Pin
User 842012-Jul-18 9:49
User 842012-Jul-18 9:49 
GeneralRe: Woz's quote about Jobs' failure Pin
Rick York12-Jul-18 9:54
mveRick York12-Jul-18 9:54 
GeneralRe: Woz's quote about Jobs' failure Pin
ZurdoDev12-Jul-18 10:27
professionalZurdoDev12-Jul-18 10:27 
GeneralRe: Woz's quote about Jobs' failure Pin
raddevus12-Jul-18 10:30
mvaraddevus12-Jul-18 10:30 
GeneralRe: Woz's quote about Jobs' failure Pin
User 842012-Jul-18 10:44
User 842012-Jul-18 10:44 
GeneralRe: Woz's quote about Jobs' failure Pin
raddevus12-Jul-18 11:48
mvaraddevus12-Jul-18 11:48 
GeneralRe: Woz's quote about Jobs' failure Pin
raddevus12-Jul-18 12:07
mvaraddevus12-Jul-18 12:07 
GeneralRe: Woz's quote about Jobs' failure Pin
User 5924112-Jul-18 13:48
User 5924112-Jul-18 13:48 
GeneralRe: Woz's quote about Jobs' failure Pin
raddevus12-Jul-18 17:49
mvaraddevus12-Jul-18 17:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.