Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ashtonjamesd
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
ashtonjamesd
11mo ago
No problem! With C, I started with the K&R book. This provided a great foundation for C and some fundamental CS concepts. I am unsure of the best way to obtain a more structured curriculum outside of college, as that is how I received m
2.
▲
by
ashtonjamesd
11mo ago
Thank you for the feedback! I agree it does obfuscate the signature, possibly too much. I think it's okay as long as the user has the option to do both, with this made clear in the docs. Also, yes I agree, RequestContext makes more sen
3.
▲
by
ashtonjamesd
11mo ago
Hi, I have been coding on GitHub for about 2 years. There's no trick other than enjoying it and relentlessly programming for fun. You probably know this, but if you enjoy something, you'll likely be better at it than someone who d
4.
▲
by
ashtonjamesd
11mo ago
That's a very good idea actually and I had wanted to do that but it didn't click that you could do that with a macro! Thank you, I'll will implement that :)
5.
▲
by
ashtonjamesd
11mo ago
Thank you, I really appreciate you saying that! Yes it's on the backlog and will be fun to implement :)
6.
▲
by
ashtonjamesd
11mo ago
Thank you for the feedback, it is appreciated! I did intend to implement parallelization as a later feature so it's good to bring it up.
7.
▲
by
ashtonjamesd
11mo ago
Yes, I'm sure that is something I can add to it. I will add it to the backlog of things to do :)
8.
▲
by
ashtonjamesd
11mo ago
Haha, the example could be better. All of the other things combined, I would say it could be called a framework. There are some more examples in doc/
9.
▲
by
ashtonjamesd
11mo ago
Thank you, that means a lot! :)
10.
▲
by
ashtonjamesd
11mo ago
Wow! That really means a lot because I always make a lot of effort to make sure my code is just that :) Appreciate you saying that!
11.
▲
by
ashtonjamesd
11mo ago
Thank you so much! I appreciate it :) And yes, totally agree.
12.
▲
by
ashtonjamesd
11mo ago
Haha, I have used AI in some parts of it - mainly the JSON part because I could not wrap my head around it for the life of me. But I am proud that 90% is self written!
13.
▲
by
ashtonjamesd
11mo ago
No of course not, I understand where they are coming from in all honesty. Thank you that means a lot!
14.
▲
by
ashtonjamesd
11mo ago
That's amazing to hear and motivates me to solidify the framework further. I appreciate you showing interest! :) I'd love to hear about your project when you get round to it.
15.
▲
by
ashtonjamesd
11mo ago
That's fair. And I do agree. The use cases for something like this are very thin compared to what tools you can use out there instead, Django, Rails, Express, etc. All of which offer a much safer development experience. However, I st
16.
▲
by
ashtonjamesd
11mo ago
True. Also, I love the C language and I don't get joy out of writing in many other languages. Additionally, I've wanted to make something like this just to learn more about how web servers work. I appreciate your thoughts.
17.
▲
by
ashtonjamesd
11mo ago
Hi, sorry maybe I should've added a comment for that. The 'appRoute' is a macro that expands to a function signature. The macro is: '#define appRoute(name) HttpResponse name(AppContext ctx)' and the parameter I pass
18.
▲
by
ashtonjamesd
11mo ago
C finds a way.
19.
▲
by
ashtonjamesd
11mo ago
Right now, it's just a framework for building backends. So yes, server-side applications. However, I have thought about implementing a templating engine for serving HTML files.
20.
▲
by
ashtonjamesd
11mo ago
For fun! And because I wanted to create a framework that makes coding in C feel like a high level language (mainly for fun though).
21.
▲
Show HN: I built a web framework in C
(github.com)
420 points
by
ashtonjamesd
11mo ago
|
218 comments