Would this allow Lua code to directly use Goroutines, and take advantage of Go's features for concurrency and parallelism?
I'd love to see a high-level language like Lua (or Python, Ruby etc.) with good threading support. Building a language runtime in Go might be a good way to get that support more easily?
While I'm wishing for things, could I have good single-threaded performance too? This would likely need a JIT, which unfortunately doesn't seem possible in Go at the moment [0].
Maybe I should give up on my desire for a high-level language and just use Go itself, where concurrency, parallelism and good performance are all available today...
You have various lisps at your disposal, with my favourite Guile offering a full working Concurrent ML implementation instead of the almost-CML offered by Go.
I'll admit I don't use or know Go, but I have been in the Tarantool docs lately. It is a JIT compiled "drop in replacement for Lua 5.1 or JIT" and has fibers and channels inspired from Go. https://medium.com/tarantool-database/dbms-as-an-application...
You don't have to call it giving up. Go is pretty easy to pick up if you're used to high level languages. I would recommend reading a pretty short book called "concurrency in go" (Katherine Cox-Buday) for some really concise education on it.
Looking at this from the other side, if a non-mathematician "solves an interesting problem", is there a recommended way to make the solution public? Something better than posting to 4chan?
Is it possible to publish a result properly if one is not a mathematician and not affiliated with an institution?
You can send it to a journal as a private individual, but probably a better way would to post a manuscript on arxiv.org, and once it generates certain buzz (if the problem is interesting and well solved) then either submit it to a journal yourself or partner with other mathematician to polish it, etc. and then submit.
To be able to submit to arXiv, one needs to be endorsed by someone in the domain, which could be a potential hurdle for someone not in academia. (and I'm not about to suggest viXra as a way to get around that)
Yeah, I actually used to be a math post-graduate and have a draft of a paper with an interesting result, so I wanted to publish it but I had no idea how to get "endorsed". This was like 10 years ago and I switched to a career in programming so I doubt I'll even understand my own proof now.
One issue with PyInstaller is that it doesn't create a proper standalone binary. It either gives you a full directory tree or, with `--onefile`, an archive which self-extracts into such a tree.
The things I do in Python - mostly straightforward simple automation scripts around AWS - I would hate to do in my go to language C#. The overhead and ceremony of C# is not worth it. There are also no issues with a mismatch between what you think should be running based on what is in source control and what is running.
Static typing doesn't have to mean overhead and ceremony. Do you think you would, theoretically, enjoy writing scripts in a language like Crystal [1], which provides both the benefits of static typing and a scripting-language-like syntax?
It’s not just the language being statically typed, it’s also about the tooling around the language. Modern IDEs around mature static languages are s powerful.
I took a quick look at them and this is just first impressions, so bear with me?
They still look kinda low level to me. Yes, they provide a lot of high-level constructs and data types like python -- But what they fail to do (IMO) is a consistent abstraction.
For example, all of these languages have a concept of pointers. All of them have a distinction between different integers (int32, int64 etc..)
I had similar feelings when I used dart or even java. They're high level, but not quite!
I don't mean to thrash on these languages in any way. I think they have some real value for programmers.
It's just that I've never seen a language just throw everything out of your way and provide you with this extremely high level and easy to reason interface.
Nim actually looked pretty good, but then I realized it was just the significant whitesapce xD
Maybe I'm too biased because Python was my first (proper) language.
This mirrors my own experience exactly. I too listen to a lot of soundtracks, from movies or from video games that I have enjoyed. Although music doesn't provoke an emotional response on its own, it has an incredible ability to being back emotional memories.
For a similar reason, when choosing music to listen to, I generally listen to the same songs again and again - those which have a connection to my past. It is very hard to feel anything about a new piece of music.
This means that I may regularly listen to one track by a particular artist, but have no interest in any of their other songs. I don't even like listening to remixed or live versions of songs that I enjoy - they are sufficiently different that they do not evoke any memories and hence are uninteresting to me.
Quite possibly. I do enjoy watching a movie on occasion, but there are many other things I would rather do with my time. It turns out that compared to most people, I don't watch many movies - I've seen well under 100 of the "IMDb Top 1000 Movies of All Time" [1].
I've never considered this to be related to music, but I guess it could be.
> I always just kind of assumed people were just using overly flowery speech to describe music!
Yes! I realised this a few years ago. When people say "that's a sad song", they really mean that the song makes them sad in and of itself.
Whereas, for me, the only way a song can make me sad is if it brings back sad memories - i.e. if I had previously heard the same song on a sad occasion.
> As someone who gets a significant amount of his daily joy from listening to music...
I, in turn, find this somewhat astonishing. Not only is it so different from my own experience, it's difficult to understand.
When you're enjoying a piece of music, you can at least imagine what it would be like not to feel anything. For me, though, when I see people enjoying music, it's so confusing. What am I "supposed" to be feeling?
Music is a form of communication. What I experience in certain pieces of music is a connection with a particular set or category of feelings that verbal language is simply unable to describe with an equivalent clarity and it's a sort of empathy shared with the composer.
That's a difficult one. It didn't make me feel anything, so I really do have to guess what other people might feel.
For example, I have to think about occasions on which similar pieces of music are generally used. A solo piano like this piece is often sad, but on the other hand, this piece has a higher tempo than most sad songs.
The first one is interesting - if I heard it on the radio I wouldn't think twice about it, but seeing a video is different. Watching the guy play the guitar gives me a sense of how difficult it must be to play - which means I appreciate the music because I appreciate the technical skill of the person playing it.
The second one does nothing for me - it's just dull.
Can you explain how you feel when you listen to those songs?
Sure! When I see Derek Truck play guitar in that first video, I feel about his playing how BB King says he feels, like this was one of the best things I've ever heard.
The second one has a bit of a story behind it; the girls on stage are singing their hit song they wrote about Emmylou Harris, who is a famous singer herself and is in the audience. They talk about how she inspired them to sing so it's cool they have the opportunity to play for her. The song is very sorrowful sounding but pleasant and beautifully sung so it brings tears to my eyes.
> I feel about his playing how BB King says he feels, like this was one of the best things I've ever heard.
Thanks for this, it's very interesting. I've realised that I don't really rank music in that way - I don't have favourite songs, in the same way as I have favourite books, movies etc.
> The second one has a bit of a story behind it; the girls on stage are singing their hit song they wrote about Emmylou Harris, who is a famous singer herself and is in the audience. They talk about how she inspired them to sing so it's cool they have the opportunity to play for her.
The story is cool, you're right. I understand how it would be emotional to those involved, but I found the description of the story conveyed the emotions involved more than the singing did.
> The song is very sorrowful sounding but pleasant and beautifully sung so it brings tears to my eyes.
It's well sung, but I don't find it technically impressive like the guitar playing. Perhaps because, day-to-day, we are exposed to many good vocalists but very few guitar solos?
I'd love to see a high-level language like Lua (or Python, Ruby etc.) with good threading support. Building a language runtime in Go might be a good way to get that support more easily?
While I'm wishing for things, could I have good single-threaded performance too? This would likely need a JIT, which unfortunately doesn't seem possible in Go at the moment [0].
Maybe I should give up on my desire for a high-level language and just use Go itself, where concurrency, parallelism and good performance are all available today...
[0] https://github.com/golang/go/issues/20123