What are you working on, Jow Forums?
Previous thread:
What are you working on, Jow Forums?
Previous thread:
Other urls found in this thread:
discord.gg
discord.gg
discord.gg
timothylottes.github.io
sites.google.com
docs.racket-lang.org
twitter.com
First for Nim
Yes but Linux doesn't have an equivalent yet. I honestly don't know what's so hard about giving the kernel a buffer and saying "start copying shit to that buffer and I'll epoll the fd to figure out when its done", but so far it doesn't exist in Linux.
I think Linus likes the microthreads approach better. It's strange because Linux has sendfile which copies data between fds in kernel space.
Quit your job, make video games
What are some cool discords you guys part of?
Wrong board, wrong thread
Head back.
>implying there isn't any programming discords
>hurr
nobody uses irc anymore retard
Go back
no
oh you mean like this one?
discord.gg
A distributed RPC framework that allows for consensus based state replication. Or a cryptocurrency for short
>the future of finance
nah. But it's a fun little project
>I honestly don't know what's so hard about
maybe it's not about being hard, but unnecessary? why bloat the kernel with stuff you can do in userspace?
Anyone of you has ever made a translator? Any tips on how to deal with the strings and replacement?
Wrote a scheme script that takes 2 directories and uses openssl to generate a checksum for every file inside of them recursively and checks to make sure that all the files are the same.
>stuff you can do in userspace
Because the userspace AIO implementation is working so good, right?
Doesn't work
don't know, I don't think anyone uses it; I was referring to the fact that you can easily build a callback abstraction in userspace on top of the readiness-notification mechanism
in this company we want it BIG. you hear me? BIG.
No small talks allowed, focus on the project.
learning bigtalk if true
The point is having uniform asynchronous I/O interface for any kind of file descriptor. Epoll currently only works well for sockets. User space tools don't work at all, and even if they did they wouldn't be as well integrated as a kernel mechanism.
We can already epoll nearly anything, even signals with signalfd and it's a vast improvement to software interrupt-based signals handling. People really should start working on a IOCP equivalent that's integrated into epoll.
you must be banned then
Fuck off back to your daycare board
I never go to /v/ though, playing games is cancer
It says the invite expired
Kill yourself
Stop shilling your gamerirc channel here then
Neck yourself, autistic weeb
>It says the invite expired
it says that when you're banned, too
But I've never joined any discord before
Fuck you
what in the fuck did they mean by "chinook"
>Epoll currently only works well for sockets.
and pipes, eventfd, timerfd, signalfd
>User space tools don't work at all
what do you mean by user space tools?
>IOCP equivalent that's integrated into epoll
this doesn't really make sense; IOCP is a completion notification model and epoll is a readiness notification model
chink + gook
discord.gg
yes but thats for normies
you think i want to talk about programming in a programming discord? nah man
how about an animu discord?
OwO
go on..
>discord.gg
>.gg/programming
>Jow Forumsprogramming
nope.
anime-themed programming discord
>have to claim account to post to server
This fucking thing wont accept temp emails
>Super-talky-guy
My sides
dumb frogposter
>40 posts in and almost entirely discordposting
this thread should be nuked
I'll nuke YOUR asshole fag
would you rather anime?
Programming in C++ is like getting lots of kisses from cute anime girls!
>mental illness intensifies
Anime website.
>mental illness is justified
>being this new
>everyone should know by now anime IS mental illness
so it feels like nothing since anime girls dont exist?
I'm trying to learn OpenCL but I'm too much of a brainlet to understand
They do exist when you program in C++ though.
>mental illness doesn't exist
lad...
I haven't seen this wallpaper in like a decade. damn.
why?
it literally doesn't though
>What are you working on
I'm a delivery driver and my boss uses an old-school paper-based system. It works but it can be better.
I'm developing a system that takes in delivery dockets and re-digitizes the information so I can make a tablet app to help with picking/packing.
Then I'll be extending the app to incorporate the delivery itself (geofencing customers, tracking times taken, ability to add notes).
Not giving it to the boss, just for myself, it's been a fun challenge so far.
>justifying degeneracy as mental illness
The only degenerates in this thread are "people" using trashlangs such as not C++.
Underrated lang.
Needs to cut their shit and polish their current features and stdlib.
Hoping a company will back it up a la Elixir.
CriPPles is a truly awful language
what the fuck did you just say
does she have a dick?
Is this just what C programmers are like?
tldr?
nvm
Cniles are retarded, everyone knows that
put me on the twitter
>put me on the twitter
no
>resizable array
i don't believe that exists
pls
only non-obvious shitposts get tweeted
Of course it does. Allocate new array, copy shit over, deallocate old one.
thats creating a new array
The stack and the heap are both resizable arrays through the power of virtual memory. When a segfault would occur as a result of a stack overflow, if the access is below the max stack size, pages are added to the stack. Likewise the heap can be extended with sbrks.
My friend literally did that. Did not work well for him. He posted a kikestarter asking for $5,000 promising his game would be done in 6 months. He got a total of $1,000 in pledges, mostly from friends and family. He then spent the rest of the year asking publishers and angel investors or money. He's finally found himself an actual job instead of begging for money after about a year and a half.
Wow, this is depressing.
timothylottes.github.io
tl;dr the Vulkan API sometimes forces the application to provide wasteful external synchronization when implementations could easily be made thread-safe and lock-free.
Bow to the overlord
sites.google.com
Java is one of the best, if not the best language to write long running, large scale distributed systems that are secure and maintainable
With GraalVM you can now also reach efficiency of close to the metal languages such as C
Java will be the ultimate comfy language for everything
>Java is one of the best, if not the best language to write long running, large scale distributed systems that are secure and maintainable
Erlang
Smalltalk's reflective nature is pretty neat, especially some of the older implementations with an object table that allowed you to do object swizzling in O(1) time. There's a fairly big performance cost to doing things that way, but it does let you do some really cool stuff.
I'm working on a GNU-smalltalk like smalltalk interpreter that will allow the GC to be written in smalltalk itself by having some primitives to handle memory slices and reallocating objects in them. The main downside of this approach apart from performance is that I need to use have null references to make the language memory safe (my approach with an object table automatically turns dangling refs into nulls if you mess up the explicit memory management bits and do an early free).
In entirely different news, Julia 1.0 is imminent (all github issues finished, official stable release on August 8) and I'm pretty hyped about it.
Good luck trying to do long running, computationally heavy with Erlang, like machine learning or optimization problems
[banter stops]
The JVM is amazing. Java itself isn't.
java itself is a solid language
I like java less now with all the FP shit, and I am a schemefag at that. It's so bolted on and reeks of sepples, although its actual implementation of the FP shit is better than sepples'. Java without that crap and with one of the anti-boilerplate tools was good.
are you retarded or something
streams/lambdas makes java much better
I'm working thru SICP and I'm wondering how I make many lines of code to run in scheme? Whenever I press enter it just runs and I can't create a new line.
pls help me bois
dont read that is a fucking meme
you are just wasting your time
brainlet opinion
the FP in java is great
write the code into file "benis.ss." run (load "benis.ss"). in the long term might wanna consider picking up emacs or vim+tmux.
They're cancer and fail to play to the strengths of java. I think you should consider C++ if you like them.
Use a real functional language instead of some bolted on shit.
docs.racket-lang.org
It is called (begin ...) in scheme and (prog ...) in common lisp iirc. But it is very rarely used.
>very rarely
Nah it's not too uncommon, often either for if statements (#1 use) or for macros that expand into multiple toplevel expressions. More obscurely, sometimes you need a side effect to occur alongside an argument evaluation, i.e. (+ (begin (print "foo") 1) 2).
My complaint with begin is that if it weren't for the macro behavior which could be made unnecessary with some changes to syntax-rules, it doesn't need to exist as an empty let, (let () ) does the same thing.
pure fp is shit
when will npm fucking die
will npm fucking die?
whose fault is it that this is happening?
>implying i was advocating hasklel
management says no, I don't know what I'm talking about.
Use Yarn retard.
i hope youre not advocating for lisp
of course not. it's 2 namespace trash that isn't even tail optimizing. I'm advocating scheme.
not a damn thing because i'm not motivated and i hate writing anything involving SDL
it's a pain in the ass with travis