Show Nim: Curly, an efficient thread-ready parallel HTTP client

2024-02-01 Thread guzba
I think some additions to Curly will be needed for this. Probably not a big deal. Would you be willing to open an issue on the GitHub repo with some more info? Such as the easy_setopt options etc.

HTTP/2 Support?

2024-02-01 Thread icedquinn
I worked around this space (due to gRPC) a year or two ago. Problem came down to Google brought some annoying SSL extensions in to the fold and we didn't support it. I did a minute amount of work upstream to bring us closer. Not sure if anyone ever finished that part.

Nim Community Survey 2023

2024-02-01 Thread Niminem
I think the fact that the majority of Nim programmers have more than 10 years of professional software development experience is a huge selling point for the language. No one here is forced to learn and code in Nim. We do it because we all enjoy it. It's pretty fun, it's easy to read and write

Nim Community Survey 2023

2024-02-01 Thread Clonk
Thank you for the hard work !

What would happen if a time traveler took Nim source code to the 70s or 80s or 90s?

2024-02-01 Thread ingo
Don't woory about Nim in the past. Worry about the tools of old on our systems. If you travel there, please bring me the source code of WP 4.2, Lotus 123, AutoCad 10/11 and 3D studio. It still amazes me what they achieved on the 268/386 hardware of that day while I wait for a Word of OpenOffice

What would happen if a time traveler took Nim source code to the 70s or 80s or 90s?

2024-02-01 Thread xigoi
> What would be the boarder implications of Nim being introduced in the 20th > century? C programmers would have another language to pretend doesn’t exist so they could spread the myth that C is the one and only fast language.

Pocket Clicker — proof of concept Game Boy "game"

2024-02-01 Thread Zumi
My earlier try was as simple as a `proc echo (s: string) = printf((s & "\n\n").cstring)` in the same file :P (yeah, no varargs…) I am aware of the term-rewriting macro method however, but this turned out not to be necessary yet in my case. Though I have since made my version also [take a VRAM p

What would happen if a time traveler took Nim source code to the 70s or 80s or 90s?

2024-02-01 Thread Araq
Research C's history on "function prototypes" and "_Atomic" and see for yourself if a code generator works better when it can take advantage of these. The answer to most of your questions is simply: Yes. See for example Yes, really, Nim can do embedded devel

How do Nim exceptions work?

2024-02-01 Thread Araq
Like in Java exceptions are checked in Nim and unlike in Java it's easy to ignore exceptions. To be forced to handle them use the `.raises: []` construct: import std / os proc main() {.raises: [].} = # does not compile copyFile("src.txt", "dest.txt")

How do Nim exceptions work?

2024-02-01 Thread UxDnz0
The central issue of all programming languages is control flow, if your program gets into an unrecoverable state: It crashes, doesn't matter how you got there. `Exception handling` which I think is what you're really referring to, tries to alleviate getting into these possible states. I think i

How do Nim exceptions work?

2024-02-01 Thread Solo-Leveler
I knew that exceptions are bad because I had many crashes in Java and Python because of uncatched exception. But I was told Nim's exceptions don't have that problem. Can you forget or get too lazy to catch all exceptions and make a Nim program crash? How does Nim prevent this?

Nim safety features like Zig & Rust?

2024-02-01 Thread Solo-Leveler
AFAIK Rust takes the approach of `Borrow Checker` and similar to get safety. But Zig tries to get safety while maintaining the existing manual memory management system and adding compile time and runtime checks to add safety. Runtime checks can be removed if you want performance.

What would happen if a time traveler took Nim source code to the 70s or 80s or 90s?

2024-02-01 Thread Solo-Leveler
How much work would it take to make it work on past PCs or workstations? For example have the C specs changed and does the C output need to be changed? Does the STD lib need to be changed or implemented for old hardware? What about compilation speed? What about ORC/ARC? I know that Nim is prett

Show Nim: Curly, an efficient thread-ready parallel HTTP client

2024-02-01 Thread fefic
Thank you this is very good. How can I add easy_setopt options for example proxy support for requests?

Fool-Proof Hacks That Work For Dr Oz Cbd Gummies For Blood Sugar

2024-02-01 Thread AdamRguson
> ✔️ Where to Get Bottle Online : > Dr Oz CBD Gummies For Blood Sugar: Anyone can perform it, and it improves regular thoughts health and the health of individual mind areas. So, you want to offer it a go and compare the consequences. The mind

Pocket Clicker — proof of concept Game Boy "game"

2024-02-01 Thread PMunch
This is really cool! Fascinating to see how relatively easy it is to use Nim for these older system. Curious to see how you overrode `echo`. I know of a couple ways it can be achieved, but I'm interested to see if you found another way.