r/computerscience • • 59m ago

Updated the CS/HCI PhD opportunity tracker for Fall 2027

4 Upvotes

Hi folks,

I relaunched the CS/HCI PhD position tracker for Fall 2027, if that's you - take a look! Also, share widely :)

👇
https://andrewkuz.net/public/dashboards/cs-hci-phd-opportunities/2027/html/cs-hci-phd-opportunities-2027.html

This year I decided to exhaustively cover all the subfields of CS on social media AND academic websites. Hopefully manually annotating 900+ posts will help someone in this subreddit! Best of luck!


r/computerscience • • 23h ago

Article Anthropic claims to have proven VP ≠ VNP, the algebraic counterpart of P vs NP

Thumbnail
interestingengineering.com
118 Upvotes

Insane result imo. Actual paper for those who wanna read.

Fyi, VP = VNP would imply P = NP, but the inverse isn't necessarily true, VP ≠ VNP doesn't necessarily imply by itself that P ≠ NP, so that's still an open question.


r/computerscience • • 4h ago

General Brian Kernighan: Inside Bell Labs, The Best Programmer, Why C Won

Thumbnail
reddit.com
1 Upvotes

r/computerscience • • 1d ago

OMG I FIGURED OUT HOW TO MAKE AN XOR GATE :D

Post image
16 Upvotes

r/computerscience • • 1d ago

Advice Reinforced learning app

5 Upvotes

I'm looking to pick computer science back up.

I'll admit, I'm not a beginner, but I'm no John von Neumann either.

I studied CS at GCSE (That's UK High School level for you Americans out there) and got 9s (pretty much an A / A*).

I just want to pick it back up and progress further if possible without going back to school. I'd love an app or tool (android or web) that does reinforced learning as that's what works best for me, kind of like how duolingo teaches you then brings back words and phrases days / weeks later to see if you actually remembered.

Not sure if this even really exists, research suggests otherwise. But I thought hey, if anyone knows its going to be the reddit guys.

Any help is appreciated, thanks for your time!


r/computerscience • • 1d ago

What is your take on John Backus’s assertion that the FP (point-free) style is, in his view, more advantageous than the lambda calculus?

Thumbnail reddit.com
4 Upvotes

r/computerscience • • 1d ago

A Turing-complete queue machine with just 6 string-rewriting rules

Thumbnail
reddit.com
0 Upvotes

Added an interactive playground and some more detailed explanations here: https://wraitii.github.io/tag-systems/


r/computerscience • • 2d ago

Discussion Is math really the backbone of computer science or are we exaggerating it?

Post image
0 Upvotes

Why do people act like you can't be a good programmer without being good at math?

Saw this meme where a small car labelled "Math" is carrying a huge load of AI, robotics, physics, coding and computer science.

I understand the point, but I don't fully agree.

Sure, advanced AI, graphics and some algorithms need serious mathematics. But what about web development, app development or just writing good code?

Knowing how to solve problems and actually build something matters too.

I think math is a powerful tool in computer science, but treating it like the only thing that matters is misleading.


r/computerscience • • 4d ago

Discussion Any Way For Multiple Blocks of Memory to be Allocated In One Function?

17 Upvotes

In c malloc will allocate some memory that can store variables. It takes in the number of bytes needed to be allocated and it gives a pointer to where the memory is allocated. What happens is that in the heap, there is a bit of space for the data, and before and after that point in the heap there are some overhead bytes that are not used for data.

Is it possible to write a function that allocates multiple blocks that can be freed separately? For example, a function which takes parameters a and b where a is a size desired and b is a pointer to an integer. The function outputs a pointer p and writes a second value to b. It then allocates 3000 blocks of memory, each of which is size a and offset by the same ammount. So at address p, there is a block of size a, at p+ 1 b, there is a block of size a, at p + 2b there is a block of size a, at p + 3 b there is a block of size a, ... and at p = 2999b there is a block of size a. Each block can be accesses separately and deallocated separately.

Ok that's actually a really stupid way to do it. What would probably be more practical is something like a function which takes the inputs a and b with a being an integer (or long) which is how many bytes you want each block, b being a pointer to an array of long integers. Then use malloc (a) to get a block the size of a, write the pointer into the array b points to, malloc (a) to get another block, write in the next part of the array, malloc (a) to get another block of size a, write the pointer of that block into array b, and so on for 3000 times to get 3000 blocks of allocated memory. But I was wondering if there was a way to do it the first way even though that would not be very good and probably burn a lot more clock cycles than a practical way.


r/computerscience • • 4d ago

An idea of deletion-only sorted array

Thumbnail reddit.com
0 Upvotes

r/computerscience • • 4d ago

Discussion Is it possible to communicate with another universe?

0 Upvotes

I’ve had a theory using quantum computing to prove we can communicate with universe outside our own.

So far the theory is proven plausible, but is not established enough yet. I do think theirs a fair chance our own companies we trust are secretly developing Inter-Universe Communication through Mathematical and Quantum Coupling

I don’t know enough about this subject but I have some confidence mankind will unlock a new level of understanding.

A simple example of how this could work:

  1. computers in both universe A and B use mathematics to bound all universes. You can apply yin-yang with a simple 1 and 0.

  2. Universe A sends a signal using binary computing, this allows Universe B to receive the same signal.

3.Both universes would already need to be entangled through having that same signal throughout its branches. Meaning they cannot send communication that differ from each other.

4. This law applies using the computer itself (mass) which cannot leave Universe A, to the signal (Energy) to universe B. Computers are the only thing that can hold mass while delegating energy this way.

5. This must only be present, it cannot apply the same rules to the past or future. But theoretically it might be possible to bridge a parell universe using mathematics.

A great source: https://arxiv.org/abs/2601.08102


r/computerscience • • 5d ago

DNS (Domain Name System)- A simple what it is and how it works

Post image
1 Upvotes

Last week I touched on IP Addresses, a unique address for our device allowing the data we want to receive arrive onto our device. In a similar vein is something called DNS, Domain Name System.

Think of it as... the internet's phonebook? Do the young ones even know what a phonebook is? Alas, if you don't know it was a large book with phone numbers in it, the yellow pages were businesses and the white pages were personal/residential. Anyways, that's not really the point. The point is: like a phone book connects someone's name to their phone number, DNS connects a website's domain name to its IP address.

Website have an IP address, but it's not really convenient to memorize all those numbers? And since websites can change their IP address... well, let's just say unless you had a super brain, you wouldn't be able to easily access the websites. A few maybe, like how we memorize our home phone number and maybe a few of our friends, but not all of them.

So a DNS works a bit likethis:

-->Example.com (people friendly website name, easy to remember, you know what it is and where you're going)
-->DNS Lookup ( Finding the corresponding IP address )
-->12.345.678.90 ( IP address)

Step 1: You enter the website address (example.com)
Your browser needs to find the server associated with the domain name.

Step 2: Your computer checks its memory
Your browser or operating system may already have the IP address stored in a temporary cache. If it does, it can often skip a new DNS lookup.

Step 3: A DNS resolver looks up the address (DNS Lookup)
If the answer isn't cached, your device can ask a DNS resolver, usually provided by your internet provider or a DNS service. The resolver finds the address by consulting other DNS servers if necessary.

Step 4: The IP address is returned (12.345.678.90)
Your computer receives the IP address it needs to contact the website's server.

Step 5: Your browser loads the website
Using the address, your browser establishes a connection, typically secures it with HTTPS, requests the webpage and displays the content.

Obviously there's more to everything, but today is just a super brief introduction to DNS. So brief, I'm not even going to dive into the cybersecurity risks. I'll just give you the summary: Yes, attackers can manipulate the DNS Lookup, and yes, there are lots of technologies designed to improve DNS security and verify the record, but ALWAY stay vigilant and check those URLS. Anyways! I'll catch ya next time!


r/computerscience • • 8d ago

General Carnegie Mellon is putting computer science courses on YouTube for free

Thumbnail
cs.cmu.edu
1.1k Upvotes

r/computerscience • • 7d ago

Is software engineering seriously undervalued at semiconductor equipment companies, or is it just my workplace?

Thumbnail reddit.com
3 Upvotes

r/computerscience • • 7d ago

Discussion Why Do Floating-Point Errors Happen, and How Do Rockets Handle Numerical Precision?

Thumbnail reddit.com
9 Upvotes

r/computerscience • • 8d ago

Discussion How are arbitrary precision integers converted into ASCII when printing?

14 Upvotes

I'm just wondering how this is done algorithmically speaking. It makes sense to just map each value to an ASCII digit, until you get to the value of 10 and above, which is something I haven't thought about until now.

I am thinking about an arbitrary precision unsigned integer in this question.

Edit: thank you all for your answers!


r/computerscience • • 10d ago

Discussion I'm trying to go up and down the software stack and see just what modern languages abstract away from you as the programmer. What is your personal top 3 things that languages abstract away from you

Thumbnail reddit.com
2 Upvotes

r/computerscience • • 10d ago

Advice resources for computer architecture/computer organisation

24 Upvotes

hello,
does anyone know of any resources to learn computer architecture?
e.g. number systems, multiplexers, cpu, logic gates, registers, ISA, opcode, boolean logic etc?

im a 1st year comp sci student undergrad and im new to this, im starting from scratch and i want to understand the terminology and how everything works.

I'm a visual learner so don't prefer books.
I prefer online websites that cover everything or videos that cover everything.

Thanks


r/computerscience • • 12d ago

Advice Having a hard time understanding recurrence relations

17 Upvotes

I have been preparing for my interviews studying algorithms and data structures. The problems and approaches are coherent to me but the it comes to time and space complexity analysis, I'm unable to deduce it by forming relations. Do I just remember the asymptomatic notations of famous algorithms or is there any better way to learn this?


r/computerscience • • 12d ago

What is an IP address? And do we really need one?

Post image
0 Upvotes

I'm sure many people have heard of an IP address, but do we all know what that really means? What they are? WHY THEY EXIST?! well... allow me...

Firstly, IP stands for internet protocol, and an IP address is a numerical address assigned to a device's network connection so that information can be sent to and from the correct destination. It's the postal address of our device, essentially. And why do we need one? Well, when we use the internet were essentially asking the networks to send us data of some sort. send us- like sending something to our home address. For example:

You're watching a YouTube video, let's say you're watching a video to learn about IP addresses.

You open YouTube on your computer.

Your computer sends a request to a YouTube server.

The server sends the video data back over the internet.

IP addresses help network equipment direct that data to the correct destination.

Without an addressing system, networks wouldn't know where to deliver information. You WOULD NOT receive the data showing you a video on IP addresses. So, YES, if you would like to recieve the data, you do indeed NEED an IP address,

Each of your individual devices has an IP address. Your phone, computer, tablet, hell even your smart TV, Alexa, baby monito r, etc.. They all have their own private IP Address. BUT interestingly, your devices share an IP address through your router, which has it's own umbrella IP address. Like the front gate address to a private community of addresses.

Now in terms of cybersecurity, I've been asked if someone could find your location using your IP address? It's a little complex but to an extent, yes. A public IP address can sometimes reveal your approximate geographic area and internet service provider. However, it generally cannot reveal your exact home address on its own. An IP address also doesn't necessarily identify one specific person, since addresses can be shared or reassigned.

However, a determined entity could use the information to further narrow down specifics. There are a few ways to make it more difficult, such as using a VPN, disabling unnecessary location permissions, avoid exposing your IP address unnecessarily, and it sounds very on the nose but be mindful of information you share. Sometimes we're out own worst enemy.

Anyways, I'll leave my tid bit here, hope you found it interesting! I'm open to suggestions on topics and people to look up, learn about, and share little snippets of what I find. Catch ya next time!

By the way, the word that pinged today was "monito r" and it violated: Rule 6: No laptop/desktop purchas e advice Rule 7: No tech/programming support. AND I just discover the word "purchas e" pings the same rules lol


r/computerscience • • 15d ago

General Why do Computer Science undergraduate programs seem to emphasise continuous mathematics (namely, infinitesimal calculus) substantially more than what the 'canon' of the field itself invokes?

178 Upvotes

I have noticed that many Computer Science undergraduate programs seem to heavily emphasise the infinitesimal calculus (Calculus I-III).

This is certainly a profound subject matter and very useful toolkit for a Computer Scientist to have.

However, I would not say that such things are greatly relevant to the actual foundations of the discipline. What is substantially more relevant is discrete mathematics, but at most institutions, discrete mathematics seems to be more of a box to check off for aspiring Computer Scientists, and a pedagogical tool to learn the Theory of Computation and Data Structures.

What is often not touched is pure logic; non-classical logic, model theory, logic and proof (semantic tableux, the sequent calculus, natural deduction), which I would wager has significantly more deeply-rooted relevance to Computer Science than any integration technique.

Notwithstanding, it seems as if a Computer Science student is vastly more likely to be able to solve a tricky Calculus problem than know much or anything about the aforementioned.

Why is this?


r/computerscience • • 14d ago

Optimizing a Reduction Algorithm with AVX

Thumbnail
reddit.com
2 Upvotes

r/computerscience • • 16d ago

General Are Diffie hellman and rsa irrelevant to cryptography mathematically, theoretically, and experimentally in the post quantum age? Will they be replaced?

17 Upvotes

Replaced in general like completely replaced. Also do they have no influence on any post quantum cryptography, does the post quantum cryptography only take up space that they used to fill