Blog

  • How Bollywood’s lens on Kashmir has changed – DW – 08/09/2025

    How Bollywood’s lens on Kashmir has changed – DW – 08/09/2025

    From snowcapped mountains to a land scarred by conflict and calls for “azaadi” (freedom), Bollywood movies have shaped how the world sees Kashmir.

    A powerful dialogue from Vishal Bhardwaj’s acclaimed 2014 film “Haider” transcends the screen, capturing the human stories of Kashmir — a Himalayan territory where breathtaking beauty and rich culture belie a decades-long conflict between India and Pakistan.

    “Are we here or not? If we are, where and if not, where have we gone? If we exist, for whom and when? Sir… were we ever there, or never at all?” the character Haider asks.

    The dialogue also raises the question of how India’s Hindi-language film industry, Bollywood, portrays Muslim-majority Kashmir.

    “Haider” is Bhardwaj’s adaptation of Shakespeare’s “Hamlet,” set against the backdrop of the Kashmir conflict in the mid-1990s. The movie offers a delicate portrayal of violence, enforced disappearances and the psychological toll of conflict.

    Kashmir’s past as a cinematic paradise

    In the decades following India’s independence from colonial rule in 1947, Bollywood often depicted Kashmir as a romantic idyll: a valley nestled amid snowy mountains, vibrant tulip gardens and lush deodar and chinar trees.

    Poster for the 1992 Indian film Roja
    From ‘Roja’ onward, militants are frequently depicted as violent antagonistsImage: Ultra Media & Entertainment Pvt. Ltd.

    In “Barsaat” (1949), Raj Kapoor uses Kashmir less as a political subject and more as a scenic backdrop for romance — an escape from the humdrum of urban life.

    Later films such as “Kashmir ki Kali” (1964) continued the trend, while rarely acknowledging the people or politics of the region.

    According to author and filmmaker Sanjay Kak, Kashmir served as a playground, “where the fantasies of Indians could be played out, with Kashmiris playing bit parts somewhere in the background.” 

    Kak added that the post-independence period “was imbued with Nehruvian optimism of secularism and brotherhood.”

    The emphasis on the landscape over people’s lives — romance over reality — shaped the image of Kashmir as paradise on Earth, alluring tourists and captivating the international imagination, while laying the groundwork for Bollywood’s later engagement with the region’s politics.

    Kashmir militancy marks a turning point for Bollywood

    But in the late 1980s and early 1990s, Kashmir experienced violent anti-India militancy.

    An armed insurgency erupted in India-administered Kashmir after New Delhi was accused of rigging the 1987 assembly election in favor of an Indian nationalist coalition of political parties.

    The Muslim United Front (MUF), a coalition of Islamic parties that many predicted would perform well in the polls, lost the election.

    In response to the violence, the Indian government enacted counterinsurgency measures including the enforcement of laws such as the 1958 Armed Forces (Special Powers) Act (AFSPA), which extends extrajudicial powers to security forces.

    These sociopolitical developments altered Kashmir’s cinematic image from paradise to a place of increased militarization, fear and communal divide — an image which still prevails.

    The Kashmir Files: Bollywood film that divides India

    To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video

    According to Meenakshi Bharat, author of “Hindi Cinema and Pakistan,” the turbulence of the 1990s brought Kashmir to the center of India’s political and emotional consciousness.

    “Hindi cinema, as the true mirror of the Indian imaginary, was compelled to take cognizance of this change,” she told DW.

    As a result, the film narrative shifted. Kashmir was increasingly portrayed as a battleground where Indian soldiers fought the Pakistan-backed insurgents.

    Films like “Roja” (1992) intertwined human stories with themes of conflict and militantism, and questions of freedom and identity.

    “This film truly marked the sad transformation of Kashmir as a love-setting to a threatened, ravaged ‘paradise’,” said Bharat.

    From “Roja” onward, militants are frequently depicted as violent antagonists — a portrayal that critics say risked reducing Muslim identity to militantism.

    Filmmaker Kak argued that “Roja” used Kashmir as a landscape in which Indians could reconstruct their fantasies about nationalism and patriotism.”

    Existential drama on screen

    By the early 2000s, films began to highlight the intricate social, political and emotional realities of Kashmir — including its history of conflict and the trauma experienced by its people due to ongoing violence.

    This unresolved grief — marked by disappearances, displacement and fractured families — deeply shaped the narratives, paving the way for stories that intertwined personal tragedy with military ideologies.

    Popular films of this period explored Kashmir’s deep pain and complex conflict, balancing the harsh realities — psychological trauma, widespread violence and human rights abuses faced by the Kashmiris — with the Indian national perspective focused on security and patriotism.

    This dual perspective still shapes how Kashmir’s story is told on screen.

    Bollywood’s ‘statist’ perspective shapes cinema narratives

    Kak describes Hindi cinema today as “statist,” meaning largely aligned with government narratives.

    Has abrogation of Article 370 curbed violence in Kashmir?

    To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video

    This has become more visible since August 2019, when New Delhi abrogated Article 370 of the Indian constitution, which had allowed the region limited autonomy. India claimed that Kashmir’s semi-autonomy had been a “root cause” of anti-India militancy.

    “As the state’s position has shifted, so has the cinema,” Kak told DW.

    Contemporary films reflect this shift. “The Kashmir Files” (2022) reignited public debate by representing the exodus of Kashmiri Hindus in 1990 as a “genocide” — a narrative championed by Hindu nationalist groups.

    However, critics said the film promotes a “one-sided” narrative that risks reinforcing anti-Muslim sentiment and deepening sectarian divides.

    Meanwhile, “Article 370” (2024) endorses the government’s stance on Kashmir, portraying the abrogation of Kashmir’s semi-autonomous status as heroic and necessary to restore order and national unity.

    Bharat views Bollywood as a mirror to subcontinental life capturing the prevailing political drives and sentiments.

    “It is difficult for the beautiful valleys to appear as an unblemished romantic setting,” she said.

    Bollywood’s Javed Akhtar: Secularism will prevail in India

    To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video

     

    Edited by: Keith Walker

    Continue Reading

  • Chad Michael Murray recalls life-threatening illness at age 15: “I was on my deathbed” – The Express Tribune

    Chad Michael Murray recalls life-threatening illness at age 15: “I was on my deathbed” – The Express Tribune

    1. Chad Michael Murray recalls life-threatening illness at age 15: “I was on my deathbed”  The Express Tribune
    2. Chad Michael Murray reveals near-death health scare that led to blood transfusion, 2-month hospitalization  New York Post
    3. Chad Michael Murray recalls being on ‘deathbed’ due to health scare: ‘My intestines had twisted’  Page Six
    4. Chad Michael Murray Reflects on 2-Month Hospitalization at Age 15: ‘I Lost 50 Percent of My Blood’  AOL.com
    5. Chad Michael Murray Says He ‘Lost 50 Percent of My Blood’ During 2-Month Hospitalization as Teenager  Just Jared

    Continue Reading

  • Debian 13.0 “Trixie” Now Available – Powered By Linux 6.12 LTS

    Debian 13.0 “Trixie” Now Available – Powered By Linux 6.12 LTS

    Debian 13.0 “Trixie” is now officially out as the newest two-year stable release to Debian GNU/Linux.

    Debian 13 is powered by the Linux 6.12 LTS kernel, uses the GNOME 48 desktop by default, relies on the GCC 14.2 compiler by default, and has a wealth of other package upgrades like OpenJDK Java 21, Python 3.13, and many other updates.

    Debian 13 desktop

    Debian 13.0 is also the first time Debian has official support for RISC-V 64-bit, there is support for HTTP booting via UEFI and U-Boot, the 64-bit time_t ABI transition is complete, there is more work around reproducible builds, and a lot of other enhancements. Debian 13.0 is also delivering some nice performance improvements over Debian 12.

    Debian 13 installer

    Those wanting to download Debian 13.0 right now can do so via cdimage.debian.org. More details on the Debian 13.0 changes via the release notes.

    Continue Reading

  • At-home skin cancer test could be one step closer

    At-home skin cancer test could be one step closer

    The newly designed ExoPatch being removed from a sample of mouse skin successfully distinguished melanoma from healthy skin in mice. Credit: Jeremy Little, Michigan Engineering

    Testing for the most aggressive form of skin cancer could one day be akin to taking a COVID-19 test at home, according to researchers at the University of Michigan.

    The researchers have developed a silicone patch – the ExoPatch – to distinguish melanoma from healthy skin. The patch worked when tested on mice. 

    What this means

    Big picture view:

    The ExoPatch could bring the medical world one step closer to rapid at-home melanoma testing, eliminating the need for a biopsy or blood draw, researchers said. 

    What they’re saying:

    “The star-shaped needles make puncture easier and less painful, but they are so small that they only go through the top-most layer of the skin, the epidermis, and do not draw blood,” said Sunitha Nagrath, a professor of Chemical Engineering at the university and co-corresponding author of the study published in Biosensors and Bioelectronics.

    “A fair-skinned person with moles must go to the doctor about every six months to send off a biopsy to see if they’re malignant or benign. With this test, they could instead test at home, get the results right away and follow up with a dermatologist for a positive result,” Nagrath said.

    How it works

    By the numbers:

    The ExoPatch microneedles are 0.6 mm long with a width of less than 100 nanometers (0.0001 mm) at the tip. They’re coated with a gel that picks up exosomes — or “tiny packages released by cells” — from the interstitial fluid that fills the spaces between cells in the epidermis.

    READ MORE: Rare flu complication causing brain swelling on the rise in kids, study finds

    Dig deeper:

    Exosomes contain DNA and RNA fragments that cells use to communicate with each other. Exosomes help tumors spread, and detecting them can catch cancer sooner than other methods of detection, researchers found. 

    The researchers first tested the ExoPatch on a tissue sample of pig skin, which closely resembles human skin in thickness and composition. The team also tested tissue samples of mouse skin, half from healthy mice and half from mice injected with a fragment of a human melanoma tumor. Once researchers confirmed that the exosomes stuck to the ExoPatch, they dissolved the gel and ran the sample through the test strips. 

    READ MORE: What is Legionnaires’ disease? Symptoms, how you get it

    “The test successfully distinguished between melanoma and healthy tissues with a 3.5-fold darker line in melanoma samples,” researchers said. 

    What’s next:

    Researchers are planning a pilot study in humans, followed by a series of clinical trials. They believe the ExoPatch could be modified, potentially helping to detect other forms of cancer, including lung, breast, colon, prostate and brain cancer. 

    “The potential applications are huge,” Nagrath said. 

    The Source: This report includes information from the University of Michigan. 

    HealthHealth Care

    Continue Reading

  • PCB chief curator Tony Hemming resigns

    PCB chief curator Tony Hemming resigns

    This undated picture shows former chief curator Tony Hemming. — PCB

    LAHORE: The Pakistan Cricket Board (PCB) on Saturday confirmed that Tony Hemming has relinquished his role as chief curator.

    He had assumed the position in July last year. Hemming has stepped down after 13 months, despite having signed a two-year contract.

    Notably, the Western Australian joined the PCB after his contract with the Bangladesh Cricket Board (BCB) had expired.

    Meanwhile, the sources have claimed that Hemming has been in talks with the BCB to reassume the role.

    During his stint as PCB chief curator, Hemming prepared pitches for Pakistan’s ICC World Test Championship matches against Bangladesh (two in August/September) and England (three in October) last year.

    Hemming also curated pitches for the ICC Men’s Champions Trophy 2025, held in Pakistan from February 19 to March 9.

    For the unversed, Tony Hemming is a highly respected curator with nearly four decades of experience.

    He has worked at various iconic cricket grounds in Australia, including Melbourne, Perth and Tasmania, as well as in countries such as Bangladesh, Qatar, Saudi Arabia and the United Arab Emirates, where he was the ICC’s Head Curator from 2007 to 2017 in Dubai.

    During his time with the ICC, Hemming also oversaw pitch preparation at the Dubai International Cricket Stadium, which was one of Pakistan’s home venues between 2009 and 2019.

    It must be noted that Hemming had replaced Zahid, who started his career by joining the Chairman of the PCB Curators Committee in 2001.

    Zahid was later appointed as the Chief Curator in 2004. He resigned from this role back in 2020 but was reappointed by former PCB Chairman Ramiz Raja in 2021.


    Continue Reading

  • Weekend Deals Slash Thunderbolt Docks for Mac by up to 43%

    Weekend Deals Slash Thunderbolt Docks for Mac by up to 43%

    Expand the utility and port count of your Mac with one of these fantastic deals on Thunderbolt docks.

    Apple’s Mac and MacBook lineup have just enough ports to be useful, but often you’ll want more. USB and Thunderbolt may be commonplace, but you’ll soon find that you need either more ports for your desktop, or connections that simply aren’t available to use.

    To expand the number of ports at your disposal, you could get a dock. To ensure that you have enough bandwidth for all of the devices you connect to it, you really should get a Thunderbolt dock.

    Here are six Thunderbolt docks that you can use to easily increase the port count of your Mac hardware, and get even more out of your computing setup.

    iVanky Fusion Dock Max 1 Thunderbolt Dock

    The iVanky Fusion Dock Max 1 Thunderbolt Dock is a stylish approach to a Thunderbolt dock, but also one that’s quite powerful in its own right. In our iVanky FusionDock Max 1 review, we found that the “floating” appearance was interesting, but also helped with increasing surface area for cooling.

    iVanky Fusion Dock Max 1 Thunderbolt Dock – Image credit: iVanky

    The port collection includes two Thunderbolt 4 connections to the host, which is unusual, as is the use of two Thunderbolt controller chips. This means it has a total of 20 ports overall, including dual HDMI 2.0 outputs, 2.5Gb Ethernet, and 96 watts of charging.

    Buy FusionDock for $299.99

    Normally $439.99, it’s available on Amazon for $299.99.

    OWC Thunderbolt mini Dock

    If you need enough expansion to provide networking, consider the OWC Thunderbolt mini Dock. As the name implies, it’s a tiny dock, making it great for using with a MacBook Pro on the move.

    Black electronic hub with multiple ports including two HDMI, USB 3.0, USB 2.0, Ethernet, and a connected USB-C cable, featuring the OWC logo.
    OWC Thunderbolt mini Dock – Image credit: OWC

    The port selection is small, but perfectly formed for mobile Macs. The selection includes two HDMI 2.0 ports, a USB 3.0 port, USB 2.0 for a keyboard or mouse, and Gigabit Ethernet.

    Buy Thunderbolt mini Dock for $59.75

    Normally $98.99, OWC is selling the OWC Thunderbolt mini Dock for $59.75.

    OWC Thunderbolt Hub

    A more conventional dock offering, the OWC Thunderbolt Hub is a Thunderbolt 4 dock that adds even more to of them to your Mac. By using one Thunderbolt connection on your host device, you get three in exchange, as well as a USB 3.2 Type-A port.

    Rectangular black and gray electronic hub with multiple connected cables, including USB and Thunderbolt ports.
    OWC Thunderbolt Hub – Image credit: OWC

    Getting more ports to use is obviously helpful, but also that it is done in a way that doesn’t rely on daisy-chaining your devices, which you can also do on each port. It’s also capable of handling dual 4K displays, and even an 8K display.

    Buy Thunderbolt Hub for $73.99

    Usually $128.99, OWC is selling refurbished versions of the Thunderbolt Hub for $73.99.

    OWC Thunderbolt Go Dock

    Travelling with a dock can be a pain if you have to deal with a massive power brick. However, the OWC Thunderbolt Go Dock eliminates that second block entirely by incorporating it into the main body.

    A rectangular dark gray docking station with grooves on top, labeled 'Thunderbolt Go Dock,' featuring various ports including USB, audio, and card reader slots on the front side.
    OWC Thunderbolt Go Dock – Image credit: OWC

    As a Thunderbolt dock, it has three Thunderbolt 4 ports, two USB-A 3.2 ports, one USB 2.0, 2.5 Gigabit Ethernet, HDMI 2.1 with full HDR support, an SD card slot, and a 3.5mm headphone jack. While it has its power supply built into the enclosure, it’s no less powerful, with it handling 90W of power delivery through the Thunderbolt host port.

    Buy Thunderbolt Go Dock for $172.75

    The OWC Thunderbolt Go Dock is usually $249.99, but it’s currently on sale for $172.75.

    Ugreen Revodock Max 213 Thunderbolt 4 Dock

    The Ugreen Revodock Max 213 is a Thunderbolt 4 dock offering 13-in-one connectivity. The hefty port selection includes two Thunderbolt 4 ports with 15W charging, 2.5Gb Ethernet, 1 USB-C 3.2, 2 USB-A 3.2, 2 USB-A 3.0, a headphone jack, DisplayPort 1.4, and SD and TF memory card readers.

    Two vertical, dark gray electronic devices with various ports, including USB and Ethernet, and labeled 'UGREEN' and 'THUNDERBOLT.'
    Ugreen Revodock Max 213 – Image credit: Ugreen

    It also includes support for a single 8K monitor or dual 4K screens. Using a 180W GaN charger, it also has 90W power delivery to recharge your MacBook Pro.

    Buy Revodock Max 213 for $227.99

    Bearing a list price of $299.99, it’s available on Amazon for $227.99.

    Ugreen Revodock Max 208 Thunderbolt 4 Dock

    The Ugreen Revodock Max 208 has a similar name, but a slightly more slimmed-down approach. This time it’s an 8-in-1 dock, with three Thunderbolt 4 ports excluding the host port, three USB-A 3.2 ports, and Gigabit Ethernet.

    Two sleek, vertical, rectangular electronic devices with multiple USB ports, Ethernet port, and power button, designed for connectivity and expansion.
    Ugreen Revodock Max 208 – Image credit: Ugreen

    It still manages to put out 85W of power delivery, thanks to its use of a 140W GaN charger. There’s also support for dual 4K screens or a single 8K display.

    Buy Revodock Max 208 for $169.99

    Usually $249.99, you can get it on Amazon for $169.99.

    Continue Reading

  • Arsenal 3 – 0 Athletic Club – Match Report

    Arsenal 3 – 0 Athletic Club – Match Report

    We lifted the 2025 Emirates Cup trophy with a classy 3-0 win over Athletic Club in our final pre-season game on Saturday.

    Viktor Gyokeres headed in his first Arsenal goal from a Martin Zubimendi cross, before Bukayo Saka doubled our lead.

    Athletic Club barely threatened us in the second half as we controlled the advantage comfortably, and it was Kai Havertz, on as a substitute, who scored our final goal in a commanding performance.

    FIRST HALF

    Saka looked lively from the off, darting into the danger area from the right, riding a clumsy challenge and getting a shot away from a narrow angle.

    The ball ricocheted back off of our number seven though, much to Unai Simon’s delight.

    Gabriel Martinelli had a go moments later, gathering possession and firing wide of the bottom left with power.

    Declan Rice switched the play out right to Saka who once again caused problems for Inigo Lekue, getting into the 18-yard box and seeing his cross just diverted past the post for a corner that was caught.

    Inigo Ruiz de Galarreta had Athletic Club’s first real sight of goal when we gave the ball away in a dangerous area, but the shot was too central to trouble David Raya.

    We almost had the opener midway through the first half, Saka playing a tidy one-two with Zubimendi before crossing for Gyokeres, who couldn’t strike the ball cleanly, allowing Simon to make a routine save.

    A creative corner kick routine nearly saw us find space at the back post to take the lead, but Rice’s delivery sailed onto the crossbar and behind.

    Martinelli then drove down the left and found Gyokeres, who unselfishly turned back to put the ball on a plate for Riccardo Calafiori, but his cushioned effort flew over the top.

    Eventually, Zubimendi was instrumental in our opener, winning the ball in midfield, allowing Odegaard’s pass to be hooked behind by Lekue for a corner kick.

    This time Rice made no mistake, finding Saka on the opposite wing. He in turn teed up Zubimendia, whose inch-perfect cross was venomously headed into the back of the net by Gyokeres for our new number 14’s first goal in red and white.

    With Athletic Club on the back foot, we broke through again just two minutes later, Martinelli setting up Saka to slot home for 2-0.

    SECOND HALF

    Ben White and Noni Madueke came on for Calafiori and Martinelli respectively at half-time.

    It didn’t take long for our new left winger to get involved, Madueke beating his man and seeing his cross headed behind for a corner. Rice delivered once again, this time the set-piece being headed back across goal by Gabriel and over the bar from Jurrien Timber.

    Our summer signings came close to combining again just beyond the hour mark, as Zubimendi regained possession in midfield and Madueke’s cross was met by the diving header of Gyokeres, who was unfortunate to see his effort cannon back off the post.

    Timber and Gabriel then made way for Myles Lewis-Skelly and Christhian Mosquera.

    After another tireless shift, Gyokeres was replaced in the 70th minute as Havertz was introduced.

    The latter got a shot away following a goalmouth scramble late on, during which Zubimendi produced a clever flick back to our German forward, but it was straight at Simon.

    There was nothing the Athletic Club goalkeeper could do about Havertz’s next effort though, as he raced through on goal after Saka sent us forward on the counter-attack. Havertz was off balance but still picked out the bottom right corner with aplomb for 3-0.

    Ethan Nwaneri, one day after signing his new contract with us, then came on for Odegaard, while Mikel Merino replaced Rice.

    penalty shootout

    Both sides agreed to play a penalty shootout regardless of the result, so we got some more spot-kick practice under our belts.

    Guruzeta scored 0-1
    Merino scored 1-1
    Navarro scored 1-2
    Havertz scored 2-2
    Vesga scored 2-3
    Madueke scored 3-3
    Serrano scored 3-4
    Nwaneri missed 3-4
    Sannadi missed 3-4
    Saka scored 4-4
    Lekue scored 4-5
    Saliba scored 5-5
    Boiro missed 5-5
    Zubimendi scored 6-5

    WHAT’S NEXT

    Premier League football is back next weekend! We head to Old Trafford to take on Manchester United at 4.30pm on Sunday as our 2025/26 campaign begins.

    Copyright 2025 The Arsenal Football Club Limited. Permission to use quotations from this article is granted subject to appropriate credit being given to www.arsenal.com as the source.

    Continue Reading

  • Rapper T-Hood fatally shot at Georgia home, Police investigation ongoing

    Rapper T-Hood fatally shot at Georgia home, Police investigation ongoing

    Rising rapper T-Hood, whose real name was Tevin Hood, has died after being shot at a residence in Gwinnett County, Georgia. He was 33.

    According to reports from Channel 2 Action News, the incident occurred on Friday evening around 7 p.m. at a home located on Lee Road in an unincorporated area of Lilburn, just outside Atlanta. Gwinnett County police responded to calls about a domestic dispute that had escalated into gunfire. Upon arrival, officers found Hood suffering from multiple gunshot wounds.

    Emergency personnel administered life-saving measures on the scene before transporting him to a local hospital. Despite their efforts, Hood later succumbed to his injuries.

    Authorities confirmed that one person was detained for questioning at the scene, but no arrests have been made as of now. The investigation into the shooting remains active, and police have yet to release further details regarding the nature of the dispute or the individuals involved.

    Hood’s family confirmed his death to local media, and tributes have begun pouring in across social media platforms from fans and fellow artists. Known for his distinct voice and growing influence in Atlanta’s underground hip-hop scene, T-Hood had developed a loyal following through his music and viral social media content.

    His death comes just weeks after he posted an eerie comedy skit on Instagram in which he appeared in a cemetery dressed as a ghost — a video that some fans now find haunting in retrospect.

    Gwinnett County police continue to urge anyone with information about the shooting to come forward as they work to determine what led to the fatal confrontation.

    The hip-hop community mourns the loss of a rising artist whose career was tragically cut short.

    Continue Reading

  • I Played Invincible VS at Evo 2025, and My Hype Levels Are Off the Charts – PCMag

    1. I Played Invincible VS at Evo 2025, and My Hype Levels Are Off the Charts  PCMag
    2. Of Course Omni-Man Is a Playable Character in Invincible VS — Here’s Our First Look at Gameplay, and Some Info on How He Works  IGN
    3. Omni-Man invades EVO 2025 to join Invincible VS roster  Shacknews
    4. Invincible VS Has “Off the Charts” Gore According to Robert Kirkman  ComicBook.com
    5. Of Course Omni-Man Is Playable in Invincible VS on PS5  Push Square

    Continue Reading

  • New Rust Client Enables Building Safe, High-Performance Apps with Aerospike

    New Rust Client Enables Building Safe, High-Performance Apps with Aerospike

    Aerospike has officially released its Rust client to support high-throughput, low-latency applications interacting with its real-time NoSQL database.

    The decision to officially adopt the previously community-supported Rust client, explains Aerospike’s Brian Porter, was driven by the growing use of Rust to build high-throughput, low-latency applications across industries such as finance, telecommunications, cloud infrastructure, and embedded systems.

    Organizations such as Amazon, Cloudflare, and Discord have adopted Rust to build reliable infrastructure and eliminate classes of memory-related bugs that commonly affect C/C++-based software.

    The Rust client adopts an async-first concurrency model, allowing developers to choose either the Tokio crate or async-std as the underlying implementation. For legacy or mixed environments, it also includes a sub-crate that exposes a blocking I/O API.

    In addition to atomic operations, the client supports batch commands to operate on multiple records in a single call. Version 2 of the client adds full support for read, write, delete, and UDF operations. It also enables to query records using both primary and secondary indexes, with support for pagination and limiting the number of returned records.

    Other important features of the Rust client include support for replica policies and throttling as well as high-level representations for data model types like Exists, OrderedMap, and UnorderedMap.

    The following snippet succinctly demonstrates how to run a query on a primary index to retrieve records that meet a given condition:

    
    let client = ...
    let mut policy = ScanPolicy::default();
    policy.include_bin_data = false;
    match client.scan(&policy, "test", "demo", None) {
        Ok(records) => {
            // process the records
        },
        Err(err) => println!("Error fetching record: {}", err),
    }
    

    Likewise, this is how you create a record by associating it to a key:

    
    let key = as_key!("test", "myset", "mykey");
    let bin = as_bin!("mybin", "myvalue");
    match client.put(&policy, &key, &vec![&bin]) {
        Ok(()) => println!("Record written"),
        Err(err) => println!("Error writing record: {}", err),
    }
    

    On Aerospike’s roadmap for its Rust client are several powerful features, including support for partition queries, distributed ACID transactions, strong consistency, and full TLS support.

    Aerospike offers several other client libraries to help developers build applications with its database in an idiomatic way, including Node.js, Java, Python, C, and more.


    Continue Reading