|
obermd wrote: I do know that early garbage collection schemes such as those found in Symbolics Lisp Machines and early versions of SmallTalk could consume up to 30% of the CPU.
Ironically, while initially awful, the Smalltalk community, and especially the Self language also pioneered many of the techniques now used in runtimes like .NET, JVM and JavaScript.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
A full flow analysis, as part of a static code analyzer, can do a lot to remove the need for checks, so that the compiler could suppress e.g. length / index / null checking when the flow analysis showed that the index / pointer could not possibly be outside the object or a null pointer. If the compiler did such complete flow analysis, that is. Usually, they don't.
I have been using static analyzers telling me things like "In module A, x is set to 20, and used in a call to module B function f as argument y. f uses y without modification to a call to function g in module C, as argument z. g uses z to index string s, but s is declared with length 16, so this would cause a runtime error".
The trace will often contain conditions, like "at function f, line 211, the local variable a may be set to a negative value, in which case the if-test at line 342 will take the false branch, causing function C.g to be called with z argument set to 20" or something like that.
The flow analyzer traces every call to g back to where whatever ends up as argument z. If every possible path that leads up to z indexing s goes back to some origin that always will be within legal limits, then there is no need for check instructions.
A trivial example: If the string index is a loop control variable with constant bounds within the string's index limits, and there is no other indexing of the string within this loop, check instructions are superfluous.
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
That is a great system! But it sounds like it would slow down compiling A LOT! Probably worth it in the end...
|
|
|
|
|
You know what would be awesome? An article! Or a collection of articles on your experience.
Just saying.
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
A half-century ago, "Saturday Review" asked some of the era's visionaries for their predictions of what 2024 would look like. Here are their hits and misses. Shiny jumpsuits and flying cars?
Although I see that Zardoz was released in 1974, so perhaps we should be wearing a little less than shiny jumpsuits.
|
|
|
|
|
Didn't realize Zardoz was that old.
|
|
|
|
|
There are two simple reasons Because multiplication is hard?
Why, I bet almost 50% of developers are in the bottom half of the scale.
|
|
|
|
|
Kent Sharkey wrote: 50% of developers are in the bottom half of the scale below the median.
FTFY
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Thank you Mr. Math(s).
TTFN - Kent
|
|
|
|
|
Because they are paid 0.1x managers
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
den2k88 wrote: Because they are paid by -0.1x managers
FTFY
(Managers contribute a negative amount to any project. This is one of the corollaries of Peter's Principle)
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Daniel Pfeffer wrote: (Managers contribute a negative amount to any project. This is one of the corollaries of Peter's Principle)
Only if we get in the way. When I can't contribute technically, I focus on cutting through red tape and keeping my manager and above from interfering with my staff. Being technically minded, I will ask questions to ensure I understand what's going on so I can do my job of supporting my staff.
|
|
|
|
|
In my experience, the micro-managers and other impediments to efficient work are much more common than good managers (those who remove impediments for their team).
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Organizations will need artificial intelligence (AI) tools to address coming attacks that will leverage AI, Microsoft suggested Fixing, or creating?
|
|
|
|
|
The spacecraft has about 48 hours of propellant remaining. "I can feel it. My mind is going."
|
|
|
|
|
I suppose in 48 hours will endly land and stop sending data?
M.D.V.
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.
|
|
|
|
|
You might see Copilot start automatically opening on Windows 11 soon, but only with certain display situations. It looks like you have adequate memory and CPU capacity. Would you like that filled up?
|
|
|
|
|
Kent Sharkey wrote: Would you like that filled up without any possibility to slank it down again? FTFY
M.D.V.
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.
|
|
|
|
|
Survey of 13,000 developers finds that most believe AI will reduce their workload and want to use AI more, but many remain skeptical. You are not alone
|
|
|
|
|
Oh tell me why![^]
or...
Oh, tell me why![^]
you choose
M.D.V.
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.
|
|
|
|
|
Gee, I wonder why? Oh yeah.
The Insider News[^]
That's why.
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
I’m begging you for the benefit of everyone, don’t be STUPID.
|
|
|
|
|
Most humans learn the skill of deceiving other humans. So can AI models learn the same? Yes, the answer seems — and terrifyingly, they’re exceptionally good at it. G.I.G.O.
|
|
|
|
|
So instead of being unintentionally deceptive, they can be intentionally deceptive too? Who would've thought?
|
|
|
|
|
Humans are Turing machines[citation needed], so it stands to reason that another Turing machine can be built that will duplicate any human behaviour, duplicity included.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I told it a couple of times before: if we are the source of their "knowledge", we are dommed
M.D.V.
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.
|
|
|
|