Show newer
modrobert boosted

Some more KAP musings

After having migrated to the new fork syntax, I now have another idea.

Currently, integer maths is always 64-bit, with wraparound overflow (because that's what the JVM does by default). For a language that is kinda oriented towards maths, that's pretty ugly.

I'm considering implementing support for bignums, in order to eliminate integer overflows. Doing so will make the behaviours of integers similar to Lisp, which is good (Lisp has, after all, the best numeric tower of any programming language, and this would make KAP almost on par with it).

However...

It would have a negative impact on performance. I don't know how much, but definitely measurable.

On the other hand, no one would care...

There are no actual users of KAP anyway, and I'm not sure that'll ever change.
If you are looking for performance, kap is already slower than any performance-oriented language.
No matter how slow I make kap, it'll still be faster than Python, which people seems to happily by using.

If I were to do this, I would also need to integrate just with bignums on the JVM, but also find a bignum library for JS (I have't researched this) as well as learning how to use GMP, since KAP can compile to JS and native as well.

@loke Subjective thought; any programming language which primary goal is not about performance should offer other features (in other words, add Bigint).

modrobert boosted

I love moss and I love frogs and I just discovered the cutest thing in existence: the Vietnamese moss frog 🤗

#mosstodon

"Capsule Summaries of all Twitter Files Threads to Date, With Links and a Glossary" taibbi.substack.com/p/capsule-

@loke @micah After checking dedicated server hosting, it's getting really cheap with unmetered bandwidth, perhaps a better alternative than AWS in this case.

"TWITTER AIDED THE PENTAGON IN ITS COVERT ONLINE PROPAGANDA CAMPAIGN
Internal documents show Twitter whitelisted CENTCOM accounts that were then used to run its online influence campaign abroad." theintercept.com/2022/12/20/tw

Show thread

"Despite promises to shut down covert state-run propaganda networks, Twitter docs show that the social media giant directly assisted the U.S. military’s influence operations."

Show thread

@chiclet @viraptor @malwaretech There is a government think tank behind mediabiasfactcheck[.]com, you will not find anything there going against US foreign policy, it's not trustworthy. More info:
en.wikipedia.org/wiki/Media_Bi
en.wikipedia.org/wiki/David_E.
en.wikipedia.org/wiki/Council_

"The Council on Foreign Relations (CFR) is an American think tank specializing in U.S. foreign policy. Founded in 1921, it is a nonprofit organization that is independent and nonpartisan. CFR is based in New York City, with an additional office in Massachusetts. Its membership has included senior politicians, numerous secretaries of state, CIA directors, bankers, lawyers, professors, corporate directors and CEOs, and senior media figures."

@malwaretech The DNC leak was not Russian intelligence, that was debunked, it was an internal leak. Please don't spread disinformation.

@filippo I just woke up to a mastodon notification about a car alarm. Jokes aside, make sure it's not your car before complaining. ;)

modrobert boosted

The attack on #NordStream was a terrible attack on European vital infrastructure, it was an act of Environmental Terrorism - A disastrous release of #Methane - Why is the #EU showing so little interest in finding out who did it.? Are they afraid that they won't like the answer..?

🐦🔗: n.respublicae.eu/wallacemick/s

ChatGPT knows what's at stake...

Q: can human civilization survive thermonuclear war?

A: It is highly unlikely that human civilization would be able to survive a thermonuclear war. The destructive power of these weapons is vast, and a global thermonuclear war would have devastating effects on the planet. The intense heat and radiation generated by thermonuclear explosions would likely cause widespread damage to the environment and infrastructure, leading to the collapse of human civilization as we know it. Additionally, the radioactive fallout from a thermonuclear war would make large areas of the planet uninhabitable for many years, potentially permanently.

"Leaked files: private spying firm targets global population with illegal spyware" thegrayzone.com/2022/12/06/fil

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.