r/AskComputerScience • u/colamentos77 • Apr 05 '20
r/AskComputerScience • u/[deleted] • Mar 30 '20
Should I get my CS degree online?
Serious Inquiry.
r/AskComputerScience • u/ConwayK9781 • Jan 24 '20
How does one actually make an API?
Hi everyone!
To clarify, I know what an API is. I use APIs. And maybe this is a super obvious question (because I can't find an answer on Google for this, only what an API is), but I for the life of me can't figure out how one would actually make an API.
For example. I have a program called Program_A. Program_A is running. I have another program, Program_B, that I want to be able to use a method in Program_A. What would I do to Program_A that would make calling it's function an API that Program_B could use?
If anyone could even give me a high level explanation that would be great, I don't really need an exact technical example (although I'm not opposed to that either). I'm just looking to understand how it works generally, because I really can't figure it out.
r/AskComputerScience • u/spol99 • Dec 28 '19
My First App completed, for now, any advice?
I'm currently a CS student and looking to build my portfolio, and this is my first web app. Was going to add some features as I'm just getting started in web dev. This web app is a basically an app idea generator where you guys can input any neat ideas you may have. Any advice to make it better or more appealing?
r/AskComputerScience • u/bovine_scatology • Oct 30 '19
Why is data transferred between cache and RAM in blocks?
Why blocks?
r/AskComputerScience • u/OvermanZarathustra1 • Aug 13 '19
How to: Deep Fakes
I recently came across this deep fake video: https://www.youtube.com/watch?v=bPhUhypV27w
And ever since, I have been in shock. I am obsessed and want to learn how I can create such videos. How/Where do I begin? What do I need to learn, in terms of programming and other academic knowledge before I can start to create such deep fakes?
Background: I have strong knowledge of math (MSc). I can program in C++ and am half decent in R.
I expect massive gaps in my knowledge so this will be more of a long term thing I'll do as a hobby.
P.S: First time posting here, if there is a more appropriate subreddit for this question, please let me know. Thanks!
r/AskComputerScience • u/[deleted] • Aug 02 '19
How does a computer receive and then process data from an input, and output data?
Say if I have a keyboard connected via USB to my PC, a key press will send the binary version of the ASCII character to the computer, an application and the operating system will incorporate it into a program - but how does it get sent to main memory, as instructions can only be executed from there - if there was no program, would it simply be sent to main memory and then be executed?
And secondly, how would a CPU output something i.e. a monitor? Are there specific instructions in it's instruction set to output to a specific connection?
r/AskComputerScience • u/ED9898A • Jul 14 '19
Please recommend an approachable book for Computer Architecture.
Just learnt that I'm going to study Computer Architecture next semester that's based on a book called "The Essentials of Computer Organization and Architecture", and I just read the reviews for it and it seems terrible for students, people hated it for being too cramming, long and complicated and hated that their college required it.
I'm looking for a good, approachable alternative for Computer Architecture so that I could read it now before I take the class to have some foundation on the course and actuallyunderstand what it's about before having to tackle it.
Here's what it says about the knowledge and skills students will develop after taking the course for more context:
the definition of computer architecture
the major components of modern computer architecture
the functionality and trade-offs of several cache memory designs
the instruction pipeline
the differences between RISC, CISC, and Superscalar architectures
parallelism in terms of both single and multiple processors
the issues and trade-offs involved in instruction set design
the unique architectures of multiprocessors and multicomputers
Introduction & vocabulary, History of computer architecture, Overview of computer organization
Course major topics:-
Overall CPU organization, High-level issues in CPU design, Memory Hierarchy and cache, External memory, RAID organization of hard disks.
Representing information digitally, Instruction Sets [CISC/RISC], Addressing Modes.
Pipeline design, Branch prediction , Superscalar Design
Operating System Issues, virtual memory, Paging & Segmentation
Parallel Processing , Cache coherence in parallel computing
Parallel computer architectures, Distributed computing
r/AskComputerScience • u/G_Singularity • Mar 06 '19
Best way to learn CS without college?
We have all heard of bootcamps, MIT open courseware, etc. What are some other good ways to ace a interview or generally get a job in CS without having a related degree or degree at all?
Thank you guys so much for all your help thus far!
EDIT: on top of this what are the basics a CS student knows after graduation. I get some may know alot and some not so much. But what is the core of a CS degree. Also what are a few concentrations that are in high demand currently ? (machine learning, AI etc etc.)
r/AskComputerScience • u/[deleted] • Feb 01 '19
Are computer science jobs actually in demand?
Seeing how #learnToCode is trending, it got me thinking again. I've always enjoyed programming, but with how much it's been pushed, I feel like there would be an excess of programmers, so I've always ruled out programming as a career. Many people cite the number of jobs in a given field as evidence for how in demand it is, but this doesn't even make any sense, since it doesn't take into account how large the workforce is. So I'd like to ask those of you who have programming jobs, how much competition is there in snagging a job?
Sorry if this was already asked, I skimmed a search of this sub and my eyes didn't catch anything
Edit: I would like to ask another question. Do you think we're in a "Tech Bubble 2.0", similar to the Dot-Com Bubble?
r/AskComputerScience • u/nodyl_yert • Jan 10 '19
If you hypothetically were able to time travel a completely up to date phone 3-5 years ago, how much of it could actually function (different apps/social media) on the “past internet “
r/AskComputerScience • u/FrezoMons • Dec 29 '18
Do you guys agree with this guy's post?
Saw this on an AskReddit post. As a senior in high school applying to universities as a CS major, I'm a lil worried.
I'm willing to wager thousands of prospective CS students are those who found a bit of interest in programming, and then saw the amount of money a "software programmer" could make (or perhaps vice-versa). They've always been "good" with computers, and that AP CS class they took last year really piqued their interests. They researched further and found "software/development managers" could make over 200k a year, and suddenly they envision themselves sitting at a computer all day, hacking away, maybe even working remotely from home, and making 300k a year. And to add even more weight to the potential disillusionment, many of these soon to be CS majors hope that maybe, just maybe, they'll somehow create the next Snapchat or Facebook or Flappy Bird or Bitcoin or Unturned or whatever new product that allows them to sit down, rake in millions, and enjoy an early retirement in the "bustle and hub" of California's Silicon Valley. That's not to say it can't happen. By all means aim high. But you don't see nearly every prospective lawyer eyeing a spot on the Supreme Court, or every prospective biology major with realistic goals to cure cancer. A CS degree is slowly becoming the new business degree of the 21st century: I don't know what the hell I want to do in life, I like money, and I guess I've always been kind of good at math, so I'll just major in CS and I'll probably be rich or something. Check any school's available undergraduate data. Computer Science, or some form of it, is most likely one of the 3 largest majors on campus, and almost certainly their most impacted major. For all prospective CS majors here: be wary. CS is going to become infinitely more competitive in the coming decade (much more than it already is). Just stay ahead of the curve and you'll be fine.
r/AskComputerScience • u/[deleted] • Nov 30 '18
Is Python in space? Are any rovers, probes, satellites coded in python?
r/AskComputerScience • u/DatabaseEmbrace • Nov 17 '18
As a newbie with programming, what conventions for making larger scale projects should I know so I do them from the start?
r/AskComputerScience • u/apptryer • Nov 08 '18
What is your programming niche?
I'm a junior CS student. I like CS and programming because I like to build what I think of and see it in action. But what really drives me is building something that someone might use. Because of this, I've tended to do lots of web/mobile application programming projects but have found them to become boring and the types of things that I learn seem uninteresting or easy to pick up on. If I find something that isn't very easy to pick up on, I have to decide whether or not it's worth my time to pick up the skill, or find a different one because it might not fit what I want to do with my projects.
I'm by no means an expert web/mobile programming. I guess my problem is that I really don't know what I want to do for work when I get out of college (some type of programming of course).
I feel like I've plateaued in terms of learning. And I don't know why because I know, that I don't know basically anything compared to the amount of things there are to learn for CS. So maybe plateaued isn't the right word. I've hit fork in the road. Do I continue with web/mobile, or learn ML/AI, AR, or something else? I want to discover something new. When I first starting programming it was like I had the entire world to discover. But now it's framework after framework or package manager after package manager. It's getting repetitive.
That must be it. I want to discover something new.
EDIT: I just wanted to add that I'm not a beginner, just because some responses seem like very beginner web/mobile dev advice. I can write/build full web/mobile applications (front and backend). I would describe myself as "experienced" I guess, but not expert.
r/AskComputerScience • u/Yrrep • Oct 09 '18
Open Source Environmental Projects?
I have been getting a bit bummed out after reading a lot about our planets environmental challenges recently such as:
Guardian: Global Warming Must Not Exceed 15c Warns Landmark UN Report
BBC: Final Call To Save The World From 'Climate Catastrophe'
Does anyone happen to know of any open source projects or ideas I (a somewhat recent Computer Science graduate) can contribute to during my free time to help better our planet. I'm hoping to find anything I could do to help, whether it's something more simple such as raising awareness or something more complex like developing a more permanent solution/technology.
I'm rather new to posting so if this isn't the best place to ask I will be happy to redirect my question to the proper place.
r/AskComputerScience • u/kovlin • May 27 '18
At a level above the very basic, how does the process of compiling work?
So far as I know, I already know the laymen-level basics of the process...compilers translate the given program into Assembly, and it's assembled from there into machine code.
But as a CS student, I'd love to have a slightly more detailed understanding of how that translation takes place, and how it is that compiled programs can often be run on computers with different CPUs, when the variant of Assembly is dependent upon a given CPU. I'm looking to gain more insight into the process generally, and perhaps a better window into how one might write a compiler (or language), assuming those topics are sufficiently connected.
r/AskComputerScience • u/wildgunman • Feb 06 '18
Were there any programming languages Edsger Dijkstra actually liked?
I see quotes all over the internet in which Edsger Dijkstra throws shade at some programming language or another (Fortran, BASIC, COBOL, etc). I know he was primarily a pen-and-paper CompSci theory guy, but is there any record of him actually expressing admiration for a particular language?
r/AskComputerScience • u/csrabbit • Apr 03 '16
Are AND, OR, XOR logic gates just conceptual abstractions for deeper understanding, or are they actual physical structures inside computers?
If so, what do they look like and what are they made out of?
Thanks!
r/AskComputerScience • u/daytodave • Dec 11 '15
How much of computer science was discovered before the first computers? (Crosspost from AskHistorians)
r/AskComputerScience • u/Solomonspin • Nov 23 '15
Do computers make calculation errors?
If computers can make billions of calculations per second, is there an expected calculation error rate they make? If so, is there some sort of correction process? If the calculations are really just tiny jolts of electricity going through logic gates, is there ever chance for an error? If I give excel 100,000 cells to perform a calculation on, is it possible for one of the calculations to be incorrect mathematically?
Thank you.
r/AskComputerScience • u/Faulty_D20 • Nov 06 '13
Running into conceptual issues relating to computer science? Check out /r/CSELI5 - it's "Explain Like I'm Five" but for Comp Sci!
I've been teaching myself programming and computer science for a couple years now and the biggest hurdle for me has always been trying to understand new concepts. This sub, at least how I see it, offers a place for people who need that little extra push before fully understanding a new concept or topic.
This is my first created sub so be gentle :)
All advice and criticism is welcome! I hope to see some of you there!
r/AskComputerScience • u/KING-NULL • Dec 13 '25
Could videogames allow for much better physics if graphic quality was significantly cut down?
Title
r/AskComputerScience • u/tugrul_ddr • Aug 24 '25
Why Does Nvidia Call Each CUDA Pipeline Like a "Core"?
In 7000-9000 series AMD Ryzen CPUs, each core has 48 pipelines (32 fma, 16 add). Even in older Intel CPUs, there are 32 pipelines per core.
But Nvidia markets the gpus as 10k - 20k cores.
CUDA cores:
don't have branch prediction
have only 1 FP pipeline
can't run a different function than other "core"s in same block (that is running on same SM unit)
any
__syncthreadscommand, warp shuffle, warp voting command directly uses other "core"s in same block (and even other SM units in case of cluster-launch of a kernel with newest architectures)in older architectures of CUDA, the "core"s couldn't even run diverging branches independently
Tensor cores:
not fully programmable
requires CUDA cores to be used in CUDA
RT cores:
no API given for CUDA kernels
Warp:
32 pipelines
shuffle commands make these look like an AVX-1024 compared to other x86 tech
but due to lack of branch prediction, presence of only 1 shared L1 cache between pipelines, its still doesn't look like "multiple-cores"
can still run different parts of same function (warp-specialization) but its still dependent to other warps to complete a task within a block
SM (streaming multiprocessor)
128 pipelines
dedicated L1 cache
can run different functions than other SM units (different kernels, even different processes using them)
Only SM looks like a core. A mainstream gaming gpu has 40-50 SMs, they are 40-50 cores but these cores are much stronger like this:
AVX-4096
16-way hyperthreading --> offloads instruction-level parallelism to thread-level parallelism
Indexable L1 cache (shared-mem) --> avoids caching hit/miss latency
255 registers (compared to only 32 of AVX512) so you can sort 250-element array without touching cache
Constant cache --> register-like speed for linear access to 64k element array
Texture cache --> high throughput for accesses with spatial-locality
independent function execution (except when cluster-launch is used)
even in same kernel function, each block can be given its own code-path with block-specialization (such as 1 block using tensor cores and 7 blocks using cuda cores, all for matrix multiplications)
so its a much bigger and far stronger core than what AMD/Intel has. And its still more cores (170) for high-end gaming GPUs than high-end gaming CPUs (24-32). Even mainstream gaming GPUs have more cores (40-50) than mainstream gaming CPUs (8-12).