Q571. What is the Global VM Lock and how does it affect concurrency?
MRI, the standard Ruby implementation, has a Global VM Lock: only one thread executes Ruby bytecode at a time, so threads do not provide CPU parallelism for pure Ruby cod...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (2,728 available).
MRI, the standard Ruby implementation, has a Global VM Lock: only one thread executes Ruby bytecode at a time, so threads do not provide CPU parallelism for pure Ruby cod...
Swift collections such as `Array`, `Dictionary` and `String` are value types with copy-on-write. Copying a variable is cheap because both copies share the same buffer unt...
Variance describes how generic types relate when their type arguments are related. `out T` (covariant) means `Producer` can be used where `Producer` is expected. `in T` (...
A classic deadlock happens in UI applications and classic ASP.NET when you block synchronously on async code with `.Result` or `.Wait()`. The awaited task wants to resume...
The rule of three: if a class needs a custom destructor, copy constructor or copy assignment operator, it probably needs all three, because they manage the same resource....
An `async fn` returns a `Future`, a state machine that does nothing until polled. An executor such as Tokio drives it. `.await` yields control while the future is pending...
Go's advice is "do not communicate by sharing memory; share memory by communicating", but both tools are legitimate. - Use a mutex when protecting a small piece of shared...
SQL supports both single-line and multi-line commenting syntax across relational database engines: ### 1. Single-Line Standard Comment (`--`): The official ANSI SQL stand...
Python language is an interpreted language. Python program runs directly from the source code. It converts the source code that is written by the programmer into an inter...
HTML provides three primary elements for structuring lists of items, each serving a distinct semantic role: ### 1. Unordered Lists (``) Used for collections of items wher...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.