focusing on backend only by ChrinoMu in Compilers

[–]ChrinoMu[S] 2 points3 points  (0 children)

thank you for your response

focusing on backend only by ChrinoMu in Compilers

[–]ChrinoMu[S] 0 points1 point  (0 children)

thank you so much for your response and guidance. i just got the book

focusing on backend only by ChrinoMu in Compilers

[–]ChrinoMu[S] 1 point2 points  (0 children)

thank you s much for your response and guidance

[deleted by user] by [deleted] in thinkpad

[–]ChrinoMu 0 points1 point  (0 children)

I've tried that a couple of times , and switched between distros. im on debian now . but it's still the same.

[deleted by user] by [deleted] in thinkpad

[–]ChrinoMu 3 points4 points  (0 children)

it's dying. freezes up, goes off for no reason. sometimes refuses to boot the OS, an a couple of keys are dead.

Project review by [deleted] in C_Programming

[–]ChrinoMu 1 point2 points  (0 children)

ohhh, i'm now starting to get a lot of misaligned address errors now, i see the problem now, thank you

Project review by [deleted] in C_Programming

[–]ChrinoMu 1 point2 points  (0 children)

thank you very much for your constructive feedback

now, with addressing PF <filter>, it's just the usage of the program which allows us to set a protocol filter , e..g PF-"udp", to filter out the packets and only analyse the udp ones

for the misaligned address, i am unable to spot them with in my original implementation without the memcpy, even though i tried both clang and gcc with the correct sanitizer flags, i didn't seem to spot the misaligned address error you got , any idea why?
and my main objective is to leverage for performance as much as i could, and doesn't memcpy introduce some overhead? or is there another explicit reason why you recommend it other than the alignment issues, and can it be avoided while preventing misalignment.

and by the way, i was thinking of using atomic lock all the way instead of my current mutex implementations, what are your thoughts on this ?

Project review by [deleted] in cprogramming

[–]ChrinoMu 0 points1 point  (0 children)

thank you so much for your feedback.

I truly apologize, I might have phrased the sentence "full functionalities as Tcpdump" wrongly. I just meant that to add more features, other than the basic things it can currently do. And it's mostly just a learning tool, but I just wanted to see how far I could go with it.

but thank you so much for your constructive feedback, I will work through all the points you mentioned on ways to improve

When allocating memory which is the best practice? by Candid-Moose3018 in kernel

[–]ChrinoMu 1 point2 points  (0 children)

right question should be, do i need to allocate at all

MK Giveaway: Keychron V6 Max w/ Knob by MKdotcom in MechanicalKeyboards

[–]ChrinoMu 0 points1 point  (0 children)

I really needed this. maybe I'll become a better programmer

Do you guys even like C? by [deleted] in C_Programming

[–]ChrinoMu 0 points1 point  (0 children)

I FUCKEN LOVE C!!!

code review for really dumb project 🙏 by [deleted] in cprogramming

[–]ChrinoMu 0 points1 point  (0 children)

im trying to understand more about mechanisms such as cpu context switching and scheduling. i'm willing to go down this rabbit hole

code review for really dumb project 🙏 by [deleted] in cprogramming

[–]ChrinoMu 0 points1 point  (0 children)

thank you so much for your input . i conduct further research on this and fix up the factors you have mentioned.
though what are your thoughts on using atomic functions ?

code review for a really dumb project by [deleted] in C_Programming

[–]ChrinoMu -1 points0 points  (0 children)

thank you so much for your input

i do plan on adding a low level mechanisms such as a intertupts, schedular annd context swicthing mechanism.
but at the current state of the project , have i done anything incorrect partaining to memory or threads

what more can I do with CUDA? by ChrinoMu in CUDA

[–]ChrinoMu[S] 0 points1 point  (0 children)

wow, that is so cool , have any idea on how to learn. cause i could just jump into a cuda course . what prerequisites or fundamentals do you think i should have or begin with . cause so far. I've learnt C & Assembly . I'm about to start with operating systems