Tumgik
#common lisp
rafeinterlude · 1 month
Text
i hate my lisp so much like it ruins my life and people make fun of it alll the time and it just fucking sucks and like it’s the people who don’t even know me at all?? and it’s always when i forget i have a lisp and someone brings it up like SHUT UP. i was at a concert today and i was taking to someone in the crowd and somone behind me started making fun of my lisp out of no we’re like??? what did it dooo to deserve this curse
10 notes · View notes
constantly-variable · 3 months
Text
Interesting thing about common lisp is that "characters" are (in sbcl at least) representative of unicode code points. Character syntax uses the name.
Tumblr media
So doing length on the string does what python does and returns 5.
BUT! SBCL can do other lengths with intermediate functions
Tumblr media Tumblr media
AND IT CAN DO GRAPHEMES!! (with :sb-unicode)
Tumblr media
Haven't found something like Swift's "s.utf16.count" but otherwise sbcl has some pretty cool unicode utils!
BONUS!!
If you want to split by whitespace
Tumblr media Tumblr media
9 notes · View notes
mirqmarq428 · 3 months
Text
How do we directory in common lisp? Missing f.el rn
3 notes · View notes
watchmorecinema · 6 months
Text
Normally I just post about movies but I'm a software engineer by trade so I've got opinions on programming too.
Apparently it's a month of code or something because my dash is filled with people trying to learn Python. And that's great, because Python is a good language with a lot of support and job opportunities. I've just got some scattered thoughts that I thought I'd write down.
Python abstracts a number of useful concepts. It makes it easier to use, but it also means that if you don't understand the concepts then things might go wrong in ways you didn't expect. Memory management and pointer logic is so damn annoying, but you need to understand them. I learned these concepts by learning C++, hopefully there's an easier way these days.
Data structures and algorithms are the bread and butter of any real work (and they're pretty much all that come up in interviews) and they're language agnostic. If you don't know how to traverse a linked list, how to use recursion, what a hash map is for, etc. then you don't really know how to program. You'll pretty much never need to implement any of them from scratch, but you should know when to use them; think of them like building blocks in a Lego set.
Learning a new language is a hell of a lot easier after your first one. Going from Python to Java is mostly just syntax differences. Even "harder" languages like C++ mostly just mean more boilerplate while doing the same things. Learning a new spoken language in is hard, but learning a new programming language is generally closer to learning some new slang or a new accent. Lists in Python are called Vectors in C++, just like how french fries are called chips in London. If you know all the underlying concepts that are common to most programming languages then it's not a huge jump to a new one, at least if you're only doing all the most common stuff. (You will get tripped up by some of the minor differences though. Popping an item off of a stack in Python returns the element, but in Java it returns nothing. You have to read it with Top first. Definitely had a program fail due to that issue).
The above is not true for new paradigms. Python, C++ and Java are all iterative languages. You move to something functional like Haskell and you need a completely different way of thinking. Javascript (not in any way related to Java) has callbacks and I still don't quite have a good handle on them. Hardware languages like VHDL are all synchronous; every line of code in a program runs at the same time! That's a new way of thinking.
Python is stereotyped as a scripting language good only for glue programming or prototypes. It's excellent at those, but I've worked at a number of (successful) startups that all were Python on the backend. Python is robust enough and fast enough to be used for basically anything at this point, except maybe for embedded programming. If you do need the fastest speed possible then you can still drop in some raw C++ for the places you need it (one place I worked at had one very important piece of code in C++ because even milliseconds mattered there, but everything else was Python). The speed differences between Python and C++ are so much smaller these days that you only need them at the scale of the really big companies. It makes sense for Google to use C++ (and they use their own version of it to boot), but any company with less than 100 engineers is probably better off with Python in almost all cases. Honestly thought the best programming language is the one you like, and the one that you're good at.
Design patterns mostly don't matter. They really were only created to make up for language failures of C++; in the original design patterns book 17 of the 23 patterns were just core features of other contemporary languages like LISP. C++ was just really popular while also being kinda bad, so they were necessary. I don't think I've ever once thought about consciously using a design pattern since even before I graduated. Object oriented design is mostly in the same place. You'll use classes because it's a useful way to structure things but multiple inheritance and polymorphism and all the other terms you've learned really don't come into play too often and when they do you use the simplest possible form of them. Code should be simple and easy to understand so make it as simple as possible. As far as inheritance the most I'm willing to do is to have a class with abstract functions (i.e. classes where some functions are empty but are expected to be filled out by the child class) but even then there are usually good alternatives to this.
Related to the above: simple is best. Simple is elegant. If you solve a problem with 4000 lines of code using a bunch of esoteric data structures and language quirks, but someone else did it in 10 then I'll pick the 10. On the other hand a one liner function that requires a lot of unpacking, like a Python function with a bunch of nested lambdas, might be easier to read if you split it up a bit more. Time to read and understand the code is the most important metric, more important than runtime or memory use. You can optimize for the other two later if you have to, but simple has to prevail for the first pass otherwise it's going to be hard for other people to understand. In fact, it'll be hard for you to understand too when you come back to it 3 months later without any context.
Note that I've cut a few things for simplicity. For example: VHDL doesn't quite require every line to run at the same time, but it's still a major paradigm of the language that isn't present in most other languages.
Ok that was a lot to read. I guess I have more to say about programming than I thought. But the core ideas are: Python is pretty good, other languages don't need to be scary, learn your data structures and algorithms and above all keep your code simple and clean.
6 notes · View notes
explosiv-glasses · 5 months
Text
the word lisp is so cool.
Like if they say it with a -sp the don't have a lisp and if they say it with a -th sound they have a lisp
And the secret third option
2 notes · View notes
mauthings · 7 months
Text
More (Common) Lisp complaints
Because they are like those people selling financial freedom.
Lisp feels so irrelevant in game dev (desktop, non-mobile). C++ dominates this field. Flash successors plenty abound. XNA alternatives all around. Even Java is there. But where is Lisp?
Naughty Dogs
FF7
Kandria
...?
Let's be honest. These are not success stories. These list feels more like they use Lisp because they are extremely familiar with it. The fact that Naughty Dogs used Lisp doesn't mean Lisp is viable - it just means they have built extensive tooling around it; it is their secret sauce, and they will not share it (it is their rice bowl after all). No games or companies (on the Sony platform) before or after them used Lisp in a major way. It is probably not practical.
And furthermore, with the explosion of indie gaming some time ago, no notable Lisp games was released. Lisp is supposed to be the secret weapon for single developers or small teams - yet I see none of it.
On performance, it is said that Lisp can be 1.5-3x performance of C, and there are even claims that it can go faster than C because the compiler + runtime are included. Now, on the "faster than C part", it's quite hard to believe, when Java with tons of engineering work, finds it quite hard to be on par with C.
Now, that being said, I present my pet peeves.
Lisps might need a lot of effort to reach "close-to-C" speed. Java can have moderately decent programmers with low to moderate effort, and produce "close-to-C" speed. That is the true achievement of Java in my opinion. I don't have to be damn fucking smart or spend a lot of time to achieve great performance, memory safety, easy-to-read code, and more, with just higher memory usage. And these days, I suspect it is even lower than SBCL if you limit memory and use parallel GC. That is a feat that is hard to beat.
What about C++? Lisp can reach "close-to-C" speed. There are claims that Lisps can beat C in speed because of compiler + runtime. Those are only claims. C++ has already beat C in performance, with zero overhead, using a poor mans macro (C++ template) https://stackoverflow.com/a/18004168.
On to the word "tooling", Lisp developers consider tooling as the ability to extend the language, create constructs that are simply not possible in other languages. In the rest of the world, tooling means... tooling.
Like the macro LOOP. If this is tooling, then it is a fucking monstrosity. We all have limited mental capacity. If my program is going to have multiple LOOP-like mental usage, well.. fuck me.
Toolings are like.. IDEs. And sometimes they are so damn good it is not even funny. But the most important thing they do is to reduce your mental load, by being as smart as possible. Tooling does the work, you do the coding. I sometimes wonder if IDE users realize you can do 99.9% of the same things with... | Hacker News (ycombinator.com)
And since I like Java, I will just say some things. Java the language is hilariously weak compared to Lisp, but the runtime, ecosystem, tooling, everything far outshines current Lisps. And the Java language are clearly designed by level-headed geniuses - at least they never claim that Java is the best full stop. Well, I consider them geniuses when I read Brian Goetz, Aleksey Shipilëv, or Ron Pressler when it comes to Java.
And while there is a saying that Java needs a state-of-the-art GC because of all the garbage it produces.. well it is also because of this GC that you can have highly performant code with mediocre code, that won't blow your memory.
The funny thing is that from a purely technological point of view, Java (even th... | Hacker News (ycombinator.com)
JVM Anatomy Quark #11: Moving GC and Locality (shipilev.net)
Java is better than C++ for high speed trading systems | Hacker News (ycombinator.com)
A few more links to show why I feel these people are so delusional. If only they were more pragmatic
https://news.ycombinator.com/item?id=37458188
https://news.ycombinator.com/item?id=35006777 and https://news.ycombinator.com/item?id=35006777&p=2, search for lisp
https://news.ycombinator.com/item?id=37308747 and https://news.ycombinator.com/item?id=37308747&p=2, search for lisp
5 notes · View notes
izder456 · 9 months
Text
i saw this fast inverse sqrt function somewhere online, and it fascinated me to no end. (the left is the fast inverse, and the right is the `math.h` impl)
`main()` is just some crappy test suite i whipped up for testing purposes
Tumblr media
the code in question was made for quake III arena’s gameengine.
here’s a video that explains it pretty well:
youtube
i was thinking, how would i achieve the same level of elegance, but in the context of lisp?
my notes (probably not super accurate, but probably still interesting to see how my brain tackled this):
thinking lisp brain here:
i came across this stack-exchange question:
i can treat the array as a sequence of nibbles (four bits), or a “half-byte”, and use the emergent patterns from that with the linear algebra algorithm in this post.
we can predict patterns emerging consistently, cos i can assume a certain degree of rounding into the bitshifted `long`. because of that, each nibble can have its own “name” assigned. in the quake impl, thats the `long i;` and `float y;`
instead of thinking about it as two halves of a byte to bitshift to achieve division, i can process both concurrently with a single array, and potentially gain a teeny bit of precision without sacrificing on speed.
i could treat this as 2x4 array.
each column would be a nibble, and each row would be 2 bits wide. so basically its just two nibbles put next to eachother so the full array would add up to one-byte.
the code is already sorta written for me in a way.
i just need a read-eval loop that runs over everything.
idk if it’s faster, if anything it’ll probably be slower, but it’s so fucky of an idea it might just work.
a crapshoot may be terrible but you can’t be sure of that if ya never attempt.
4 notes · View notes
Text
Is it just me or. does Common Lisp have the most indescribably hard to grasp features that turn out to be completely niche?
Like, how many lispers do actually need the #1= reader macro (for doing weird stuff with conses, I guess?) and how many use it just to... save on a local variable? Intern one symbol less?
I suspect this was much more useful in the 80's, where it probably helped speeding up low-level stuff, but go figure!
5 notes · View notes
patchoulii-2hu-144p · 22 days
Text
decided to learn common lisp, seems very different from everything else.
0 notes
mantacid · 1 month
Text
Y’all want to see the worst lisp function I’ve ever written?
Too bad.
Tumblr media
0 notes
vanilla-voyeur · 9 months
Text
I knew moving from a FAANG to a midsized company outside of the software field would be an adjustment. But I was not prepared for the sheer number of things that are just baffling design decisions.
The stuff that everyone recognizes needs to be fixed but haven't had the time to knock out is understandable. It's the stuff that people are like "and what about it?" for the absolute wildest design choices that perplex me the most.
10 notes · View notes
contradictivs · 1 year
Text
toddlers having a hard time pronouncing certain sounds (with l’s & r’s being one of the main ones) & thinking about the baby dunbar brothers pronouncing things funny 🥺
2 notes · View notes
mirqmarq428 · 5 months
Note
Oh yeah, you said you'd like to know more about common lisp! I'm not the most proficient at it, but it's a really wonderful language, and I'd love to try and answer any questions you have!
Okay reverse Ask time then
How do namespaces/packages work? I somehow always end up stuck in the wrong one and let stops working...
3 notes · View notes
Text
CLARA BOW // charles leclerc - pt. 2
charles leclerc x figureskater!reader
part 1 part 3
summary: you're an aspiring olympic gold medalist who just wants to compete and have fun. on the way there, a handsome monegasque f1 driver slides into your dms and changes the trajectory of your life.
note: so i woke up to part one of this having over 300 notes?? what the heck you guys 😭 thank you so much! here's a speedy part two as a thank you 🙏🏻
Tumblr media
capital indoor stadium beijing, china
"Annyeong (Bye), Hana!" Y/N called out, giggling as the little girl waved wildly, struggling against her babysitter who was trying to take her away.
"Bye, Y/N!!!" she yelled back, her English as unsteady and lisping as Y/N's Korean was.
The figure skater shook her head, smiling. Hana could be a handful and a little spoiled, but she really was a joy to be around, and a weight taken off Y/N's shoulders in the face of the upcoming competition. Even though skating with her had taken some of Y/N's precious rest time away, she couldn't help but be happy still. Going back to the Olympic Village early would've only meant that she would agonize over everything that could possibly go wrong tomorrow, and that was the last thing she needed with all of the tenseness and pressure that was already permeating the rink's atmosphere.
"Did you enjoy yourself?" Rafael Arutyunyan, one of her coaches asked as she slid over to the barriers.
"Yes," she avoided looking at his face, knowing there would only be disapproval there. "Why wouldn't I?"
"Hm. Well, you know what I think."
"Hana's a sweet kid," Y/N defended, sliding to a stop in front of the rink's entrance.
"I never said she wasn't," Rafael pointed out, handing her her blade guards.
Y/N began putting them on as her coach continued, "Just that this is not the kind of distraction you need the day before the competition."
"It was either this or go to my room and mope. Which would you have rather I'd done?" Pulling her red Team USA jacket on, she continued, "Besides, Adam said it was fine."
"Adam's looking at it from a PR perspective," Rafael rolled his eyes. "You know that."
"It's good for my mindset." Y/N shrugged, ignoring the cameras clicking away from the media journalists by the sideboards. "If it's also good PR, then it can't be all that bad, can it?"
"I just don't want it to affect your performance, come competition day."
Y/N sighed affectionately and pat his shoulder.
"I'll be fine, Raf. If anything's going to hurt my skating, it's not going to be this."
Tumblr media
cassievilleneuve
Tumblr media
liked by y/n l/n, isabeau.levito, and 3,271 others
cassievilleneuve my companion, my best friend, my soul sister. words can't express how proud i am of you and your accomplishments. we've both wanted to go to the olympics since we were little girls, and i'm so thrilled that you made it there 🥹 know that i'm there with you in spirit, and go kill it out there tomorrow.
love, the wicked witch 🧙🏻‍♀️
view all 16 comments...
y/n l/n there would be no glinda if there weren't an elphaba 💙 ily so so much cass! next time, we'll both be doing it together, i just know it.
karebearsk8 ahhh look what you did cass, you've made her cry 😄
y/n l/n LIES
isabeau.levito so proud of both of you ❤️ ❤️ by y/n l/n
y/n l/n thank you issy 🥰
Tumblr media
daniel3.jpg
Tumblr media
liked by carlossainz55, landonorris, and 375,187 others
daniel3.jpg caught in 4k 😳
view all 617 comments...
melisasimp how is Charles perfect in all angles😩😭
kimmiegrantxo Thank you for your service, sir 🫡
daphnemller I have been fed 😩
charles_leclerc MATE!?
landonorris he's so pathetic 😄
amyisawag asdfjhskfjd lando??? 😭
carlossainz55 where is the lie
oscarpiastri pathetic AND obsessed
charles_leclerc BLOCKED. all of you BLOCKED.
detectivelana guys guys i think we're focusing on the wrong thing here. charles is fine and all, but what's the common thread through all of these pictures? his phone. what else? his smile. in conclusion, who is charles smiling at on his phone and how do we get the grid to spill?
mellymellmell no no you're so right??
amyisawag @daniel3.jpg
daphnemller @daniel3.jpg
daniel3.jpg sorry, been sworn to secrecy 🤐
876 notes · View notes
cripplecharacters · 11 days
Text
A Quick Guide to Writing Dialogue for a Character with a Speech Disorder: Articulation
[large text: A Quick Guide to Writing Dialogue for a Character with a Speech Disorder: Articulation]
As both a speech-language pathology student and someone with what's known as a lateral lisp (more on that in a minute), I rarely see characters like me and my students portrayed, or portrayed well, so here's a quick look at writing a character with an articulation disorder. A warning that this is going to be a long post.
Learning
[large text: Learning]
The next section is a large look at the information and background of what this disorder/disability is and explains it.
What is an Articulation Disorder?
[large text: What is an Articulation Disorder?]
An articulation disorder is a disorder where a sound or sounds are affected and changed in some way (distorted, deleted, substituted, etc).
This is not to be confused with a related disorder known as a Phonological disorder. Phonological disorders are when sound related rules are affected.
A sound, in articulation disorders, can be substituted, deleted, inserted, or distorted. Substituted means instead of sound "a" they say sound "b" (wose instead of rose). Deleted means they get rid of sound "a" and skip to the next part of the word (ose instead of rose). Inserted means a sound is added (ruh-ose instead of rose), and distorted means the sound is off but not completely one of the other categories.
Specifics of Articulation Disorders
[Large text: Specifics of Articulation Disorders]
There are two common sounds related to simple articulation disorders - "r" and the lisps. A thing to understand about "r" is that there are two types of "r" that can have errors - "r" with a vowel and without a vowel. Another important thing to understand is that each sound comes at a certain age and "r" is the last sound to come for most children, meaning that a 4-year-old who can't say "r" is not disordered and has a possibility of learning to say it later without intervention (although intervention and assessment are always preferred sooner rather than later). Again, though, articulation disorders can be any sound or group of sounds.
What are the lisps?
[large text: What are the lisps?]
There are 4 kinds of lisps - we'll start with interdental (the stereotypical "th" for s and z - "have you theen my thlipperth?" usually assigned to a nerd or intellectual character) and the lateral lisp (air leaks out the sides and "s" can become "sh" - "can you pash me the notesh for clash?") There are two other types as well but we can come back to them later.
I'm largely skipping through phonological disorders, as they can be more difficult and there are too many of them to discuss in a short post without that being the entire post!
Personal Experience
[Large text: Personal Experience]
This next section is more fun - looking at my own experiences and opinions as someone with an articulation disorder.
What to add
[Large text: What to add]
There are aspects to a speech sound disorder/articulation disorder that I think is very important to keep in mind that seldom are. The biggest one is that a person with an articulation disorder that impacts them enough is going to have ways to get around their disorder outside of receiving speech therapy. This can include avoiding words that prove difficult and words with certain sounds (I know that "ss" in the middle and end of words is a problem so I may avoid it around people that I think would tease me for it). They may be silent during conversations or class for fear of embarrassment. They may use their body more, like pointing or gesturing to things.
Another important thing I would love to see is reactions to articulation disorders that are positive or even neutral - letting people repeat words until they get the sound right if they're able to or just letting it pass otherwise.
Stereotypes
[Large text: Stereotypes]
There are only 2 types of articulation disorders:
Many people when they think of articulation disorders think of either an "r" substitution (rhotacism) or an interdental lisp. There are so many types of articulation errors a character can have, and for several reasons, from comorbid and related illnesses (such as neurological disorders and dysarthria) to no known reason (known as idiopathic) to structural reasons (my hypermobility makes my tongue too long, which causes air to come out the sides of my mouth).
Articulation disorders make a character less serious:
Often characters who are given an articulation disorder are the comic relief (Tiny Nose in the Owl House is an example of exaggerated rhotacism) and aren't allowed to be serious or leads because our voices and way of speaking are too "ridiculous". This leads me to my next point...
Articulation disorders make a character "stupid":
There's a myth that speech and intelligence are related, which harms not only people with speech disorders but mainly people with intellectual disability. There is no relation between speech sound disorders and low intelligence, but there is nothing wrong with low intelligence and there are absolutely people with speech sound disorders with low IQs* (which do not label all intelligence and have its faults) as well as people with high and average IQs.
Should you "write out" a speech sound disorder?
[Large text: should you "write out" a speech sound disorder?]
This is a complicated question with no specific answer. Many people would agree that it is jarring and unadvised to write out an accent or dialect, but a speech sound disorder is not a dialect. It may also be difficult for the reader to visualize and keep in mind the differences if it is not put down. However, very unintelligible dialogue will need to be adapted for or translated in some way in most scenarios and some readers may be annoyed by the stylization of writing out the errors. I would overall lean towards including it, for reasons mentioned and so the disability isn't one that's discussed but never shown or adapted for.
Why not call my character's speech sound disorder "severe" or "mild"?
[Large text: Why not call my character's disability "severe" or "mild"?]
This is a personal take from my time at a clinic but one that I personally think is really impactful. Especially for younger people reading or younger characters, hearing that their disorder is "severe" may be both alienating and insulting. It also often implies there's no getting better or growth, which is not true. There are better ways it can be phrased - the disorder is significantly impacting them, or their intelligibility is significantly impacted, for example. As for "minor" or "mild" I try to avoid it because any disability can still impact the person - my lisp is relatively "mild" now after a while of using compensatory strategies and learning how to navigate but it still is impactful to me.
When writing characters who are less severely impacted by their disorders it may be more internal than anything else - others may not notice how much the character is compensating. This is going to impact their internal view and narration, however.
And that's another thing I want to stress - these disorders can run all kinds of ranges, from very impactful to barely noticeable. There is no one way to have a speech sound disorder - or a speech disability.
165 notes · View notes
mauthings · 7 months
Text
Common (Lisp) gaslighting
TLDR I am a fucking noob and I wasted a lot of time on Lisp.
Also Tumblr has terrible text markup.
Common Lisp has many implementations, but
More like many incompatible implementations - they may implement all, but have different ideas about non-standards like FFI, threads, and what not
Libraries like Bordeaux-Threads, CFFI, Closer-MOP actually tries to provide a baseline for ALL implementations, just look at all the #+ in the code - reading the libraries feels like reading how every implementation does things
When they say there's a lot of libraries, this is not what I have in mind - if standardising features across implementations is a library, then I have nothing much to say
If you are creating an application (not designing a library), the libs above are actually not helpful as they are another layer on top of the implementation itself
Other implementations are problematic
https://www.reddit.com/r/Common_Lisp/comments/15maush/clozure_cl_1122/
https://gitlab.com/gnu-clisp/clisp no Windows binary release since 2010, developer refuses to support MingW 64bit, GPL program
On Lispworks
Lispworks has GUI, tree shaker, ability to create shared libraries, and good support, but..
It costs way too much - USD 3,000 for 64-bit Windows, or about MYR 14,000. Daylight robbery. If I want a great GUI designer, there is JFormDesigner, one time purchase of USD 179. Intellij reaches price parity at 29 years.. the entire Jetbrains suite reaches price parity at 17 years..
Lispworks have Hobbyist starting at USD 750.. but anyone trying to justify that other hobbies also cost this much is missing a huge point - most hobby allows them to resell their stuffs, and you can even do commercial stuffs with it. I am pretty sure that you cannot sell back your license, and can only upgrade, which is paying another USD 2250..
Whereas Jetbrains has Intellij and PyCharm community edition - awesome products, free, and can be used for commercial purposes
All Lisp follows a standard, so it is portable/stable/etc
More like dead. No one bothers to standardise threads, C ffi, etc
The language has a lot of unnecessary nesting thanks to let/flet and friends - I can also use https://quickdocs.org/serapeum and use the macro local, but this library pulls 19 libraries, one of them Slime, which is used for .. I actually don't know why it is needed, isn't Slime used for interacting with Emacs???
https://portability.cl/ doesn't seem portable to me
Library situation is still bad
No implementation comes with GUI. Quite bad considering how having many implementations is considered a good thing (actually there are ABCL but that's cheating)
I am looking for https://docs.python.org/3/library/cmd.html, I see that https://github.com/vindarel/replic is a good library, and is MIT licensed. But it uses GNU Readline, which is definitely GPL. replic depends on cl-readline, which is GPL. So.. isn't replic supposed to be GPL because of its dependency on GNU Readline? The author owns the code for replic and cl-readline, but not GNU Readline
Out of the box, almost all the implementations doesn't come with batteries. (Racket included, as a user say it comes with a retrofittable fusion battery pack)
When I think of batteries included, I think of this.
I am looking for game development
I see xelf, it asks for SDL.dll, and a bunch of other dlls, which I have to supply. SDL1 last update was around 2013
This is one where "stable" or "will work for decades" fails badly
I see SDL2, it asks for SDL2.dll
I see raylib, it wants to compile C stuffs (which I did not install). Why??
I see Trial, I see the docs, I feel dumb
On the other hand
pip install pygame-ce, look at docs, viola
pip install raylib, copy starter code, viola
Download gdx-liftoff, generate project, open in Intellij, viola
The docs for these game libs are so easy to read, and all of them includes the DLLs required
Why don't Common Lisp stuffs include the DLLs? You expect me to put it in the Systems folder? Expect me to use Linux and apt install sdl/whatever? The idea that I "use Linux for easy development and then compile using Wine" is insane
And best practices..
https://google.github.io/styleguide/lispguide.xml
I might as well use C++ and read http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines, even Lisps programs eventually need to interface C stuffs, and Python can use nanobind with great effect
As to why I say C++ when talking about interfacing C, it is because these days, the world is built in C++
And more links
https://news.ycombinator.com/item?id=29017710
https://news.ycombinator.com/item?id=26065511
https://news.ycombinator.com/item?id=28040351
https://news.ycombinator.com/item?id=37458188
Please don’t assume Lisp is only useful for Animation and Graphics, AI, Bio-informatics, B2B and Ecommerce, Data Mining, EDA/Semiconductor applications, Expert Systems, Finance, Intelligent Agents, Knowledge Management, Mechanical CAD, Modeling and Simulation, Natural Language, Optimization, Research, Risk Analysis, Scheduling, Telecom, and Web Authoring just because these are the only things they happened to list. – Kent Pitman
Where?? Please show me where it is. Otherwise it feels like gas lighting.
1 note · View note